Home
last modified time | relevance | path

Searched refs:asShaderVar (Results 1 – 18 of 18) sorted by relevance

/third_party/skia/src/gpu/effects/
DGrShadowGeoProc.cpp32 varyingHandler->addPassThroughAttribute(rsgp.inShadowParams().asShaderVar(), in onEmitCode()
37 varyingHandler->addPassThroughAttribute(rsgp.inColor().asShaderVar(), args.fOutputColor); in onEmitCode()
DGrDistanceFieldGeoProc.cpp80 varyingHandler->addPassThroughAttribute(dfTexEffect.fInColor.asShaderVar(), in onEmitCode()
84 gpArgs->fPositionVar = dfTexEffect.fInPosition.asShaderVar(); in onEmitCode()
369 varyingHandler->addPassThroughAttribute(dfPathEffect.fInColor.asShaderVar(), in onEmitCode()
381 gpArgs->fLocalCoordVar = dfPathEffect.fInPosition.asShaderVar(); in onEmitCode()
389 dfPathEffect.fInPosition.asShaderVar(), in onEmitCode()
628 varyingHandler->addPassThroughAttribute(dfTexEffect.fInColor.asShaderVar(), in onEmitCode()
632 gpArgs->fPositionVar = dfTexEffect.fInPosition.asShaderVar(); in onEmitCode()
637 dfTexEffect.fInPosition.asShaderVar(), in onEmitCode()
DGrBitmapTextGeoProc.cpp72 varyingHandler->addPassThroughAttribute(btgp.fInColor.asShaderVar(), args.fOutputColor); in onEmitCode()
79 gpArgs->fPositionVar = btgp.fInPosition.asShaderVar(); in onEmitCode()
84 btgp.fInPosition.asShaderVar(), in onEmitCode()
DGrBezierEffect.cpp82 gp.inPosition().asShaderVar(), in onEmitCode()
270 gp.inPosition().asShaderVar(), in onEmitCode()
/third_party/skia/src/gpu/glsl/
DGrGLSLVarying.cpp62 this->addAttribute(attr.asShaderVar()); in emitAttributes()
65 this->addAttribute(attr.asShaderVar()); in emitAttributes()
/third_party/skia/src/gpu/
DGrDefaultGeoProcFactory.cpp152 gpArgs->fLocalCoordVar = gp.fInLocalCoords.asShaderVar(); in onEmitCode()
158 gp.fInPosition.asShaderVar(), in onEmitCode()
166 varyingHandler->addPassThroughAttribute(gp.fInCoverage.asShaderVar(), "alpha"); in onEmitCode()
DGrGeometryProcessor.h86 GrShaderVar asShaderVar() const { in asShaderVar() function
/third_party/skia/src/gpu/ops/
DQuadPerEdgeAA.cpp695 gpArgs->fPositionVar = gp.fPosition.asShaderVar(); in makeProgramImpl()
701 gpArgs->fLocalCoordVar = gp.fLocalCoord.asShaderVar(); in makeProgramImpl()
710 gp.fColor.asShaderVar(), in makeProgramImpl()
737 args.fVaryingHandler->addPassThroughAttribute(gp.fLocalCoord.asShaderVar(), in makeProgramImpl()
744 args.fVaryingHandler->addPassThroughAttribute(gp.fTexSubset.asShaderVar(), in makeProgramImpl()
790 args.fVaryingHandler->addPassThroughAttribute(gp.fGeomSubset.asShaderVar(), in makeProgramImpl()
DLatticeOp.cpp69 gpArgs->fLocalCoordVar = latticeGP.fInTextureCoords.asShaderVar(); in makeProgramImpl()
73 latticeGP.fInTextureCoords.asShaderVar(), in makeProgramImpl()
77 latticeGP.fInTextureDomain.asShaderVar(), in makeProgramImpl()
81 args.fVaryingHandler->addPassThroughAttribute(latticeGP.fInColor.asShaderVar(), in makeProgramImpl()
DGrOvalOpFactory.cpp146 varyingHandler->addPassThroughAttribute(cgp.fInCircleEdge.asShaderVar(), "circleEdge"); in onEmitCode()
149 varyingHandler->addPassThroughAttribute(cgp.fInClipPlane.asShaderVar(), in onEmitCode()
154 varyingHandler->addPassThroughAttribute(cgp.fInIsectPlane.asShaderVar(), in onEmitCode()
160 varyingHandler->addPassThroughAttribute(cgp.fInUnionPlane.asShaderVar(), in onEmitCode()
166 varyingHandler->addPassThroughAttribute(cgp.fInRoundCapCenters.asShaderVar(), in onEmitCode()
178 varyingHandler->addPassThroughAttribute(cgp.fInColor.asShaderVar(), args.fOutputColor); in onEmitCode()
186 cgp.fInPosition.asShaderVar(), in onEmitCode()
327 varyingHandler->addPassThroughAttribute(bcscgp.fInCircleEdge.asShaderVar(), in onEmitCode()
332 bcscgp.fInDashParams.asShaderVar(), in onEmitCode()
404 bcscgp.fInColor.asShaderVar(), in onEmitCode()
[all …]
DDrawAtlasPathOp.cpp107 shader.fAttribs[shader.colorAttribIdx()].asShaderVar(), in onEmitCode()
DAAConvexPathRenderer.cpp625 varyingHandler->addPassThroughAttribute(qe.fInColor.asShaderVar(), args.fOutputColor); in makeProgramImpl()
634 qe.fInPosition.asShaderVar(), in makeProgramImpl()
DDashOp.cpp798 dce.fInPosition.asShaderVar(), in onEmitCode()
988 de.fInPosition.asShaderVar(), in onEmitCode()
DDrawVerticesOp.cpp143 gpArgs->fLocalCoordVar = coordsAttr.asShaderVar(); in onEmitCode()
DFillRRectOp.cpp582 varyings->addPassThroughAttribute(proc.fColorAttrib->asShaderVar(), in onEmitCode()
/third_party/skia/tests/
DGrPipelineDynamicStateTest.cpp108 varyingHandler->addPassThroughAttribute(mp.inColor().asShaderVar(), args.fOutputColor); in makeProgramImpl()
DGrMeshTest.cpp511 varyingHandler->addPassThroughAttribute(mp.inColor().asShaderVar(), args.fOutputColor);
/third_party/skia/tools/gpu/
DTestOps.cpp60 gp.fInLocalCoords.asShaderVar(), in makeProgramImpl()