Home
last modified time | relevance | path

Searched refs:gpArgs (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp18 GrGPArgs gpArgs; in emitCode() local
19 this->onEmitCode(args, &gpArgs); in emitCode()
20 vBuilder->transformToNormalizedDeviceSpace(gpArgs.fPositionVar, args.fRTAdjustName); in emitCode()
21 if (kVec2f_GrSLType == gpArgs.fPositionVar.getType()) { in emitCode()
89 GrGPArgs* gpArgs, in setupPosition() argument
91 gpArgs->fPositionVar.set(kVec2f_GrSLType, "pos2"); in setupPosition()
92 vertBuilder->codeAppendf("vec2 %s = %s;", gpArgs->fPositionVar.c_str(), posName); in setupPosition()
97 GrGPArgs* gpArgs, in setupPosition() argument
102 gpArgs->fPositionVar.set(kVec2f_GrSLType, "pos2"); in setupPosition()
103 vertBuilder->codeAppendf("vec2 %s = %s;", gpArgs->fPositionVar.c_str(), posName); in setupPosition()
[all …]
/external/skia/src/gpu/effects/
DGrShadowGeoProc.cpp20 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
36 this->setupPosition(vertBuilder, gpArgs, rsgp.inPosition()->fName); in onEmitCode()
42 gpArgs->fPositionVar, in onEmitCode()
DGrBezierEffect.cpp71 void GrGLConicEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
91 gpArgs, in onEmitCode()
100 gpArgs->fPositionVar, in onEmitCode()
332 void GrGLQuadEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
352 gpArgs, in onEmitCode()
361 gpArgs->fPositionVar, in onEmitCode()
539 void GrGLCubicEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
557 gpArgs, in onEmitCode()
569 v.vsOut(), devkLMMatrixName, gpArgs->fPositionVar.c_str()); in onEmitCode()
590 gpArgs->fPositionVar, in onEmitCode()
DGrDistanceFieldGeoProc.cpp32 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument
59 gpArgs, in onEmitCode()
68 gpArgs->fPositionVar, in onEmitCode()
314 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument
336 gpArgs, in onEmitCode()
345 gpArgs->fPositionVar, in onEmitCode()
554 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument
573 gpArgs, in onEmitCode()
582 gpArgs->fPositionVar, in onEmitCode()
DGrBitmapTextGeoProc.cpp22 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
52 this->setupPosition(vertBuilder, gpArgs, cte.inPosition()->fName); in onEmitCode()
58 gpArgs->fPositionVar, in onEmitCode()
/external/skia/src/gpu/ccpr/
DGrCCPRTriangleProcessor.cpp18 GrGPArgs* gpArgs) const { in onEmitVertexShader()
23 gpArgs->fPositionVar.set(kVec2f_GrSLType, "self"); in onEmitVertexShader()
71 GrGPArgs* gpArgs) const { in onEmitVertexShader()
72 this->INHERITED::onEmitVertexShader(proc, v, pointsBuffer, atlasOffset, rtAdjust, gpArgs); in onEmitVertexShader()
DGrCCPRPathProcessor.cpp94 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override;
114 void GLSLPathProcessor::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
159 gpArgs->fPositionVar.set(kVec2f_GrSLType, "octocoord"); in onEmitCode()
177 this->emitTransforms(v, varyingHandler, uniHandler, gpArgs->fPositionVar, "pathcoord", in onEmitCode()
DGrCCPRCoverageProcessor.cpp93 void PrimitiveProcessor::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
112 gpArgs); in onEmitCode()
122 const char* rtAdjust, GrGPArgs* gpArgs) const { in emitVertexShader()
126 this->onEmitVertexShader(proc, v, pointsBuffer, "atlasoffset", rtAdjust, gpArgs); in emitVertexShader()
DGrCCPRCoverageProcessor.h235 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) final;
239 GrGPArgs* gpArgs) const;
DGrCCPRQuadraticProcessor.cpp18 GrGPArgs* gpArgs) const { in onEmitVertexShader()
24 gpArgs->fPositionVar.set(kVec2f_GrSLType, "self"); in onEmitVertexShader()
DGrCCPRCubicProcessor.cpp18 GrGPArgs* gpArgs) const { in onEmitVertexShader()
75 gpArgs->fPositionVar.set(kVec2f_GrSLType, "self"); in onEmitVertexShader()
/external/skia/src/gpu/
DGrDefaultGeoProcFactory.cpp73 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
137 gpArgs, in onEmitCode()
147 gpArgs->fPositionVar, in onEmitCode()
156 gpArgs->fPositionVar, in onEmitCode()
/external/skia/tests/
DPrimitiveProcessorTest.cpp70 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onPrepareDraws() argument
73 this->setupPosition(args.fVertBuilder, gpArgs, gp.getAttrib(0).fName); in onPrepareDraws()
DGrPipelineDynamicStateTest.cpp85 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) final { in onEmitCode() argument
95 gpArgs->fPositionVar.set(kVec2f_GrSLType, "vertex"); in onEmitCode()
DGrMeshTest.cpp321 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) final { in onEmitCode() argument
340 gpArgs->fPositionVar.set(kVec2f_GrSLType, "vertex"); in onEmitCode()
/external/skia/src/gpu/ops/
DGrDashOp.cpp874 void GLDashingCircleEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
898 this->setupPosition(vertBuilder, gpArgs, dce.inPosition()->fName); in onEmitCode()
904 gpArgs->fPositionVar, in onEmitCode()
1076 void GLDashingLineEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
1102 this->setupPosition(vertBuilder, gpArgs, de.inPosition()->fName); in onEmitCode()
1108 gpArgs->fPositionVar, in onEmitCode()
DGrMSAAPathRenderer.cpp133 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
148 this->setupPosition(vsBuilder, uniformHandler, gpArgs, qp.inPosition()->fName, in onEmitCode()
152 this->emitTransforms(vsBuilder, varyingHandler, uniformHandler, gpArgs->fPositionVar, in onEmitCode()
DGrOvalOpFactory.cpp113 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
144 this->setupPosition(vertBuilder, gpArgs, cgp.fInPosition->fName); in onEmitCode()
150 gpArgs->fPositionVar, in onEmitCode()
269 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
292 this->setupPosition(vertBuilder, gpArgs, egp.fInPosition->fName); in onEmitCode()
298 gpArgs->fPositionVar, in onEmitCode()
411 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
434 gpArgs, in onEmitCode()
443 gpArgs->fPositionVar, in onEmitCode()
DGrAAConvexPathRenderer.cpp558 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
577 this->setupPosition(vertBuilder, gpArgs, qe.fInPosition->fName); in onEmitCode()
583 gpArgs->fPositionVar, in onEmitCode()
/external/skia/src/gpu/instanced/
DInstanceProcessor.cpp78 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override;
218 void GLSLInstanceProcessor::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
401 gpArgs->fPositionVar.set(positionType, "deviceCoords"); in onEmitCode()
403 this->emitTransforms(v, varyingHandler, uniHandler, gpArgs->fPositionVar, localCoords, in onEmitCode()