Lines Matching refs:dfTexEffect

41         const GrDistanceFieldA8TextGeoProc& dfTexEffect =  in onEmitCode()  local
52 vsBuilder->emitAttributes(dfTexEffect); in onEmitCode()
65 dfTexEffect.inColor(), &fColorUniform); in onEmitCode()
68 this->setupPosition(pb, gpArgs, dfTexEffect.inPosition()->fName, dfTexEffect.viewMatrix()); in onEmitCode()
71 this->emitTransforms(args.fPB, gpArgs->fPositionVar, dfTexEffect.inPosition()->fName, in onEmitCode()
77 bool isSimilarity = SkToBool(dfTexEffect.getFlags() & kSimilarity_DistanceFieldEffectFlag); in onEmitCode()
79 vsBuilder->codeAppendf("%s = %s;", st.vsOut(), dfTexEffect.inTextureCoords()->fName); in onEmitCode()
86 dfTexEffect.inTextureCoords()->fName); in onEmitCode()
146 const GrDistanceFieldA8TextGeoProc& dfTexEffect = proc.cast<GrDistanceFieldA8TextGeoProc>(); in setData() local
147 float distanceAdjust = dfTexEffect.getDistanceAdjust(); in setData()
170 const GrDistanceFieldA8TextGeoProc& dfTexEffect = gp.cast<GrDistanceFieldA8TextGeoProc>(); in GenKey() local
172 uint32_t key = dfTexEffect.getFlags(); in GenKey()
174 key |= ComputePosKey(dfTexEffect.viewMatrix()) << 25; in GenKey()
286 const GrDistanceFieldPathGeoProc& dfTexEffect = args.fGP.cast<GrDistanceFieldPathGeoProc>(); in onEmitCode() local
297 vsBuilder->emitAttributes(dfTexEffect); in onEmitCode()
304 dfTexEffect.inColor(), &fColorUniform); in onEmitCode()
306 vsBuilder->codeAppendf("%s = %s;", v.vsOut(), dfTexEffect.inTextureCoords()->fName); in onEmitCode()
309 this->setupPosition(pb, gpArgs, dfTexEffect.inPosition()->fName, dfTexEffect.viewMatrix()); in onEmitCode()
312 this->emitTransforms(args.fPB, gpArgs->fPositionVar, dfTexEffect.inPosition()->fName, in onEmitCode()
337 if (dfTexEffect.getFlags() & kSimilarity_DistanceFieldEffectFlag) { in onEmitCode()
401 const GrDistanceFieldPathGeoProc& dfTexEffect = gp.cast<GrDistanceFieldPathGeoProc>(); in GenKey() local
404 uint32_t key = dfTexEffect.getFlags(); in GenKey()
406 key |= ComputePosKey(dfTexEffect.viewMatrix()) << 25; in GenKey()
508 const GrDistanceFieldLCDTextGeoProc& dfTexEffect = in onEmitCode() local
516 vsBuilder->emitAttributes(dfTexEffect); in onEmitCode()
523 this->setupPosition(pb, gpArgs, dfTexEffect.inPosition()->fName, dfTexEffect.viewMatrix()); in onEmitCode()
526 this->emitTransforms(args.fPB, gpArgs->fPositionVar, dfTexEffect.inPosition()->fName, in onEmitCode()
530 … bool isUniformScale = SkToBool(dfTexEffect.getFlags() & kUniformScale_DistanceFieldEffectMask); in onEmitCode()
534 vsBuilder->codeAppendf("%s = %s;", st.vsOut(), dfTexEffect.inTextureCoords()->fName); in onEmitCode()
541 dfTexEffect.inTextureCoords()->fName); in onEmitCode()
556 if (dfTexEffect.getFlags() & kBGR_DistanceFieldEffectFlag) { in onEmitCode()
644 const GrDistanceFieldLCDTextGeoProc& dfTexEffect = in setData() local
646 GrDistanceFieldLCDTextGeoProc::DistanceAdjust wa = dfTexEffect.getDistanceAdjust(); in setData()
655 this->setUniformViewMatrix(pdman, dfTexEffect.viewMatrix()); in setData()
670 const GrDistanceFieldLCDTextGeoProc& dfTexEffect = gp.cast<GrDistanceFieldLCDTextGeoProc>(); in GenKey() local
673 uint32_t key = dfTexEffect.getFlags(); in GenKey()
675 key |= ComputePosKey(dfTexEffect.viewMatrix()) << 25; in GenKey()