Home
last modified time | relevance | path

Searched refs:btgp (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/effects/
DGrBitmapTextGeoProc.cpp26 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()
[all …]
/external/skqp/src/gpu/effects/
DGrBitmapTextGeoProc.cpp26 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()
[all …]