Lines Matching refs:btgp
26 const GrBitmapTextGeoProc& btgp = args.fGP.cast<GrBitmapTextGeoProc>(); in onEmitCode() local
33 varyingHandler->emitAttributes(btgp); in onEmitCode()
45 append_index_uv_varyings(args, btgp.inTextureCoords().name(), atlasSizeInvName, &uv, in onEmitCode()
50 if (btgp.hasVertexColor()) { in onEmitCode()
51 varyingHandler->addPassThroughAttribute(btgp.inColor(), args.fOutputColor); in onEmitCode()
58 gpArgs->fPositionVar = btgp.inPosition().asShaderVar(); in onEmitCode()
64 btgp.inPosition().asShaderVar(), in onEmitCode()
65 btgp.localMatrix(), in onEmitCode()
69 append_multitexture_lookup(args, btgp.numTextureSamplers(), in onEmitCode()
72 if (btgp.maskFormat() == kARGB_GrMaskFormat) { in onEmitCode()
83 const GrBitmapTextGeoProc& btgp = gp.cast<GrBitmapTextGeoProc>(); in setData() local
84 if (btgp.color() != fColor && !btgp.hasVertexColor()) { in setData()
85 pdman.set4fv(fColorUniform, 1, btgp.color().vec()); in setData()
86 fColor = btgp.color(); in setData()
89 const SkISize& atlasSize = btgp.atlasSize(); in setData()
96 this->setTransformDataHelper(btgp.localMatrix(), pdman, &transformIter); in setData()
102 const GrBitmapTextGeoProc& btgp = proc.cast<GrBitmapTextGeoProc>(); in GenKey() local
104 key |= btgp.usesW() ? 0x1 : 0x0; in GenKey()
105 key |= btgp.maskFormat() << 1; in GenKey()
107 b->add32(btgp.numTextureSamplers()); in GenKey()