Home
last modified time | relevance | path

Searched refs:varyingHandler (Results 1 – 25 of 54) sorted by relevance

123

/external/skqp/src/gpu/effects/
DGrShadowGeoProc.cpp23 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
28 varyingHandler->emitAttributes(rsgp); in onEmitCode()
30 varyingHandler->addPassThroughAttribute(rsgp.inShadowParams(), "shadowParams"); in onEmitCode()
33 varyingHandler->addPassThroughAttribute(rsgp.inColor(), args.fOutputColor); in onEmitCode()
40 varyingHandler, in onEmitCode()
DGrDistanceFieldGeoProc.cpp35 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
39 varyingHandler->emitAttributes(dfTexEffect); in onEmitCode()
56 varyingHandler->addPassThroughAttribute(dfTexEffect.inColor(), args.fOutputColor); in onEmitCode()
63 varyingHandler, in onEmitCode()
334 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
338 varyingHandler->emitAttributes(dfPathEffect); in onEmitCode()
355 varyingHandler->addPassThroughAttribute(dfPathEffect.inColor(), args.fOutputColor); in onEmitCode()
368 varyingHandler, in onEmitCode()
378 varyingHandler, in onEmitCode()
622 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
[all …]
DGrBezierEffect.cpp72 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
76 varyingHandler->emitAttributes(gp); in onEmitCode()
79 varyingHandler->addVarying("ConicCoeffs", &v); in onEmitCode()
96 varyingHandler, in onEmitCode()
323 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
327 varyingHandler->emitAttributes(gp); in onEmitCode()
330 varyingHandler->addVarying("HairQuadEdge", &v); in onEmitCode()
347 varyingHandler, in onEmitCode()
DGrBitmapTextGeoProc.cpp29 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
33 varyingHandler->emitAttributes(btgp); in onEmitCode()
51 varyingHandler->addPassThroughAttribute(btgp.inColor(), args.fOutputColor); in onEmitCode()
62 varyingHandler, in onEmitCode()
/external/skia/src/gpu/effects/
DGrShadowGeoProc.cpp24 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
28 varyingHandler->emitAttributes(rsgp); in onEmitCode()
30 varyingHandler->addPassThroughAttribute(rsgp.inShadowParams(), "shadowParams"); in onEmitCode()
34 varyingHandler->addPassThroughAttribute(rsgp.inColor(), args.fOutputColor); in onEmitCode()
DGrBezierEffect.cpp68 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
72 varyingHandler->emitAttributes(gp); in onEmitCode()
75 varyingHandler->addVarying("ConicCoeffs", &v); in onEmitCode()
279 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
283 varyingHandler->emitAttributes(gp); in onEmitCode()
286 varyingHandler->addVarying("HairQuadEdge", &v); in onEmitCode()
DGrDistanceFieldGeoProc.cpp34 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
38 varyingHandler->emitAttributes(dfTexEffect); in onEmitCode()
57 varyingHandler->addPassThroughAttribute(dfTexEffect.inColor(), args.fOutputColor); in onEmitCode()
332 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
336 varyingHandler->emitAttributes(dfPathEffect); in onEmitCode()
352 varyingHandler->addPassThroughAttribute(dfPathEffect.inColor(), args.fOutputColor); in onEmitCode()
604 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
608 varyingHandler->emitAttributes(dfTexEffect); in onEmitCode()
621 varyingHandler->addPassThroughAttribute(dfTexEffect.inColor(), args.fOutputColor); in onEmitCode()
640 varyingHandler->addVarying("Delta", &delta); in onEmitCode()
DGrBitmapTextGeoProc.cpp32 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
36 varyingHandler->emitAttributes(btgp); in onEmitCode()
50 varyingHandler->addPassThroughAttribute(btgp.inColor(), args.fOutputColor); in onEmitCode()
/external/skqp/src/gpu/ccpr/
DGrCCCubicShader.cpp91 void GrCCCubicShader::onEmitVaryings(GrGLSLVaryingHandler* varyingHandler, in onEmitVaryings() argument
96 varyingHandler->addVarying("klm_and_edge", &fKLM_fEdge); in onEmitVaryings()
106 varyingHandler->addVarying("grad_matrix", &fGradMatrix); in onEmitVaryings()
117 varyingHandler->addVarying("corner_coverage", &fCornerCoverage); in onEmitVaryings()
DGrCCPathProcessor.cpp148 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
155 varyingHandler->emitAttributes(proc); in onEmitCode()
159 varyingHandler->addVarying("texcoord", &texcoord); in onEmitCode()
160 varyingHandler->addPassThroughAttribute(proc.getInstanceAttrib(InstanceAttribs::kColor), in onEmitCode()
219 this->emitTransforms(v, varyingHandler, uniHandler, GrShaderVar("octocoord", kFloat2_GrSLType), in onEmitCode()
DGrCCConicShader.cpp49 void GrCCConicShader::onEmitVaryings(GrGLSLVaryingHandler* varyingHandler, in onEmitVaryings() argument
54 varyingHandler->addVarying("klm_and_wind", &fKLM_fWind); in onEmitVaryings()
61 varyingHandler->addVarying(cornerCoverage ? "grad_and_corner" : "grad", &fGrad_fCorner); in onEmitVaryings()
DGrCCQuadraticShader.cpp40 void GrCCQuadraticShader::onEmitVaryings(GrGLSLVaryingHandler* varyingHandler, in onEmitVaryings() argument
45 varyingHandler->addVarying("coord_and_grad", &fCoord_fGrad); in onEmitVaryings()
53 varyingHandler->addVarying("edge_and_wind_and_corner", &fEdge_fWind_fCorner); in onEmitVaryings()
DGrCCCoverageProcessor_GSImpl.cpp38 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
39 this->emitGeometryShader(proc, varyingHandler, args.fGeomBuilder, args.fRTAdjustName); in onEmitCode()
40 varyingHandler->emitAttributes(proc); in onEmitCode()
41 varyingHandler->setNoPerspective(); in onEmitCode()
49 GrGLSLVaryingHandler* varyingHandler, GrGLSLGeometryBuilder* g, in emitGeometryShader() argument
89 fShader->emitVaryings(varyingHandler, GrGLSLVarying::Scope::kGeoToFrag, &fnBody, in emitGeometryShader()
DGrCCCoverageProcessor.cpp21 void onEmitVaryings(GrGLSLVaryingHandler* varyingHandler, GrGLSLVarying::Scope scope, in onEmitVaryings() argument
26 varyingHandler->addVarying("coverage", &fCoverages); in onEmitVaryings()
30 varyingHandler->addVarying("coverages", &fCoverages); in onEmitVaryings()
/external/skqp/src/gpu/glsl/
DGrGLSLGeometryProcessor.h43 GrGLSLVaryingHandler* varyingHandler, in emitTransforms() argument
47 this->emitTransforms(vb, varyingHandler, uniformHandler, localCoordsVar, SkMatrix::I(), in emitTransforms()
DGrGLSLVertexGeoBuilder.cpp43 fProgramBuilder->varyingHandler()->getVertexDecls(&this->inputs(), &this->outputs()); in onFinalize()
94 fProgramBuilder->varyingHandler()->getGeomDecls(&this->inputs(), &this->outputs()); in onFinalize()
DGrGLSLPrimitiveProcessor.h70 GrGLSLVaryingHandler* varyingHandler, in EmitArgs()
82 , fVaryingHandler(varyingHandler) in EmitArgs()
/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.h72 GrGLSLVaryingHandler* varyingHandler, in EmitArgs()
83 , fVaryingHandler(varyingHandler) in EmitArgs()
246 GrGLSLVaryingHandler* varyingHandler,
DGrGLSLVertexGeoBuilder.cpp40 fProgramBuilder->varyingHandler()->getVertexDecls(&this->inputs(), &this->outputs()); in onFinalize()
86 fProgramBuilder->varyingHandler()->getGeomDecls(&this->inputs(), &this->outputs()); in onFinalize()
/external/skqp/src/gpu/
DGrDefaultGeoProcFactory.cpp81 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
85 varyingHandler->emitAttributes(gp); in onEmitCode()
93 varyingHandler->addVarying("color", &varying); in onEmitCode()
197 varyingHandler, in onEmitCode()
205 varyingHandler, in onEmitCode()
215 varyingHandler->addPassThroughAttribute(gp.fInCoverage, "alpha"); in onEmitCode()
DGrPathProcessor.cpp52 void emitTransforms(GrGLSLVaryingHandler* varyingHandler, in emitTransforms() argument
63 GrGLVaryingHandler* glVaryingHandler = (GrGLVaryingHandler*) varyingHandler; in emitTransforms()
/external/skqp/src/gpu/ops/
DGrOvalOpFactory.cpp112 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
117 varyingHandler->emitAttributes(cgp); in onEmitCode()
119 varyingHandler->addPassThroughAttribute(cgp.fInCircleEdge, "circleEdge"); in onEmitCode()
122 varyingHandler->addPassThroughAttribute(cgp.fInClipPlane, "clipPlane"); in onEmitCode()
126 varyingHandler->addPassThroughAttribute(cgp.fInIsectPlane, "isectPlane"); in onEmitCode()
131 varyingHandler->addPassThroughAttribute(cgp.fInUnionPlane, "unionPlane"); in onEmitCode()
136 varyingHandler->addPassThroughAttribute(cgp.fInRoundCapCenters, "roundCapCenters"); in onEmitCode()
137 varyingHandler->addVarying("capRadius", &capRadius, in onEmitCode()
146 varyingHandler->addPassThroughAttribute(cgp.fInColor, args.fOutputColor); in onEmitCode()
153 varyingHandler, in onEmitCode()
[all …]
/external/skia/src/gpu/
DGrDefaultGeoProcFactory.cpp70 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
74 varyingHandler->emitAttributes(gp); in onEmitCode()
83 varyingHandler->addVarying("color", &varying); in onEmitCode()
135 varyingHandler->addPassThroughAttribute(gp.fInCoverage, "alpha"); in onEmitCode()
/external/skqp/tests/
DGrPipelineDynamicStateTest.cpp91 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
92 varyingHandler->emitAttributes(mp); in onEmitCode()
93 varyingHandler->addPassThroughAttribute(mp.inColor(), args.fOutputColor); in onEmitCode()
/external/skia/tests/
DGrPipelineDynamicStateTest.cpp103 GrGLSLVaryingHandler* varyingHandler = args.fVaryingHandler; in onEmitCode() local
104 varyingHandler->emitAttributes(mp); in onEmitCode()
106 varyingHandler->addPassThroughAttribute(mp.inColor(), args.fOutputColor); in onEmitCode()

123