Lines Matching refs:btgp
26 const GrBitmapTextGeoProc& btgp = args.fGP.cast<GrBitmapTextGeoProc>(); in onEmitCode() local
33 varyingHandler->emitAttributes(btgp); in onEmitCode()
44 append_index_uv_varyings(args, btgp.inTextureCoords().name(), atlasSizeInvName, &uv, in onEmitCode()
49 if (btgp.hasVertexColor()) { in onEmitCode()
50 varyingHandler->addPassThroughAttribute(btgp.inColor(), args.fOutputColor); in onEmitCode()
57 gpArgs->fPositionVar = btgp.inPosition().asShaderVar(); in onEmitCode()
63 btgp.inPosition().asShaderVar(), in onEmitCode()
64 btgp.localMatrix(), in onEmitCode()
68 append_multitexture_lookup(args, btgp.numTextureSamplers(), in onEmitCode()
71 if (btgp.maskFormat() == kARGB_GrMaskFormat) { in onEmitCode()
82 const GrBitmapTextGeoProc& btgp = gp.cast<GrBitmapTextGeoProc>(); in setData() local
83 if (btgp.color() != fColor && !btgp.hasVertexColor()) { in setData()
84 pdman.set4fv(fColorUniform, 1, btgp.color().vec()); in setData()
85 fColor = btgp.color(); in setData()
88 const SkISize& atlasSize = btgp.atlasSize(); in setData()
95 this->setTransformDataHelper(btgp.localMatrix(), pdman, &transformIter); in setData()
101 const GrBitmapTextGeoProc& btgp = proc.cast<GrBitmapTextGeoProc>(); in GenKey() local
103 key |= btgp.usesW() ? 0x1 : 0x0; in GenKey()
104 key |= btgp.maskFormat() << 1; in GenKey()
106 b->add32(btgp.numTextureSamplers()); in GenKey()