Lines Matching refs:dfTexEffect
35 const GrDistanceFieldA8TextGeoProc& dfTexEffect = in onEmitCode() local
46 varyingHandler->emitAttributes(dfTexEffect); in onEmitCode()
58 if (!dfTexEffect.colorIgnored()) { in onEmitCode()
59 varyingHandler->addPassThroughAttribute(dfTexEffect.inColor(), args.fOutputColor); in onEmitCode()
66 dfTexEffect.inPosition()->fName, in onEmitCode()
67 dfTexEffect.viewMatrix(), in onEmitCode()
75 dfTexEffect.inPosition()->fName, in onEmitCode()
82 bool isSimilarity = SkToBool(dfTexEffect.getFlags() & kSimilarity_DistanceFieldEffectFlag); in onEmitCode()
84 vertBuilder->codeAppendf("%s = %s;", uv.vsOut(), dfTexEffect.inTextureCoords()->fName); in onEmitCode()
87 SkASSERT(dfTexEffect.numTextures() == 1); in onEmitCode()
88 GrTexture* atlas = dfTexEffect.textureAccess(0).getTexture(); in onEmitCode()
95 dfTexEffect.inTextureCoords()->fName); in onEmitCode()
153 const GrDistanceFieldA8TextGeoProc& dfTexEffect = proc.cast<GrDistanceFieldA8TextGeoProc>(); in setData() local
154 float distanceAdjust = dfTexEffect.getDistanceAdjust(); in setData()
173 const GrDistanceFieldA8TextGeoProc& dfTexEffect = gp.cast<GrDistanceFieldA8TextGeoProc>(); in GenKey() local
174 uint32_t key = dfTexEffect.getFlags(); in GenKey()
175 key |= dfTexEffect.colorIgnored() << 16; in GenKey()
176 key |= ComputePosKey(dfTexEffect.viewMatrix()) << 25; in GenKey()
277 const GrDistanceFieldPathGeoProc& dfTexEffect = args.fGP.cast<GrDistanceFieldPathGeoProc>(); in onEmitCode() local
288 varyingHandler->emitAttributes(dfTexEffect); in onEmitCode()
294 if (!dfTexEffect.colorIgnored()) { in onEmitCode()
295 varyingHandler->addPassThroughAttribute(dfTexEffect.inColor(), args.fOutputColor); in onEmitCode()
297 vertBuilder->codeAppendf("%s = %s;", v.vsOut(), dfTexEffect.inTextureCoords()->fName); in onEmitCode()
303 dfTexEffect.inPosition()->fName, in onEmitCode()
304 dfTexEffect.viewMatrix(), in onEmitCode()
312 dfTexEffect.inPosition()->fName, in onEmitCode()
338 if (dfTexEffect.getFlags() & kSimilarity_DistanceFieldEffectFlag) { in onEmitCode()
397 const GrDistanceFieldPathGeoProc& dfTexEffect = gp.cast<GrDistanceFieldPathGeoProc>(); in GenKey() local
399 uint32_t key = dfTexEffect.getFlags(); in GenKey()
400 key |= dfTexEffect.colorIgnored() << 16; in GenKey()
401 key |= ComputePosKey(dfTexEffect.viewMatrix()) << 25; in GenKey()
486 const GrDistanceFieldLCDTextGeoProc& dfTexEffect = in onEmitCode() local
494 varyingHandler->emitAttributes(dfTexEffect); in onEmitCode()
499 if (!dfTexEffect.colorIgnored()) { in onEmitCode()
500 varyingHandler->addPassThroughAttribute(dfTexEffect.inColor(), args.fOutputColor); in onEmitCode()
507 dfTexEffect.inPosition()->fName, in onEmitCode()
508 dfTexEffect.viewMatrix(), in onEmitCode()
516 dfTexEffect.inPosition()->fName, in onEmitCode()
521 … bool isUniformScale = SkToBool(dfTexEffect.getFlags() & kUniformScale_DistanceFieldEffectMask); in onEmitCode()
525 vertBuilder->codeAppendf("%s = %s;", uv.vsOut(), dfTexEffect.inTextureCoords()->fName); in onEmitCode()
528 SkASSERT(dfTexEffect.numTextures() == 1); in onEmitCode()
529 GrTexture* atlas = dfTexEffect.textureAccess(0).getTexture(); in onEmitCode()
536 dfTexEffect.inTextureCoords()->fName); in onEmitCode()
552 if (dfTexEffect.getFlags() & kBGR_DistanceFieldEffectFlag) { in onEmitCode()
662 const GrDistanceFieldLCDTextGeoProc& dfTexEffect = gp.cast<GrDistanceFieldLCDTextGeoProc>(); in GenKey() local
664 uint32_t key = dfTexEffect.getFlags(); in GenKey()
665 key |= dfTexEffect.colorIgnored() << 16; in GenKey()
666 key |= ComputePosKey(dfTexEffect.viewMatrix()) << 25; in GenKey()