/external/skia/src/gpu/glsl/ |
D | GrGLSLGeometryProcessor.cpp | 18 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/ |
D | GrShadowGeoProc.cpp | 20 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()
|
D | GrBezierEffect.cpp | 71 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()
|
D | GrDistanceFieldGeoProc.cpp | 32 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()
|
D | GrBitmapTextGeoProc.cpp | 22 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/ |
D | GrCCPRTriangleProcessor.cpp | 18 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()
|
D | GrCCPRPathProcessor.cpp | 94 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()
|
D | GrCCPRCoverageProcessor.cpp | 93 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()
|
D | GrCCPRCoverageProcessor.h | 235 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) final; 239 GrGPArgs* gpArgs) const;
|
D | GrCCPRQuadraticProcessor.cpp | 18 GrGPArgs* gpArgs) const { in onEmitVertexShader() 24 gpArgs->fPositionVar.set(kVec2f_GrSLType, "self"); in onEmitVertexShader()
|
D | GrCCPRCubicProcessor.cpp | 18 GrGPArgs* gpArgs) const { in onEmitVertexShader() 75 gpArgs->fPositionVar.set(kVec2f_GrSLType, "self"); in onEmitVertexShader()
|
/external/skia/src/gpu/ |
D | GrDefaultGeoProcFactory.cpp | 73 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/ |
D | PrimitiveProcessorTest.cpp | 70 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onPrepareDraws() argument 73 this->setupPosition(args.fVertBuilder, gpArgs, gp.getAttrib(0).fName); in onPrepareDraws()
|
D | GrPipelineDynamicStateTest.cpp | 85 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) final { in onEmitCode() argument 95 gpArgs->fPositionVar.set(kVec2f_GrSLType, "vertex"); in onEmitCode()
|
D | GrMeshTest.cpp | 321 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) final { in onEmitCode() argument 340 gpArgs->fPositionVar.set(kVec2f_GrSLType, "vertex"); in onEmitCode()
|
/external/skia/src/gpu/ops/ |
D | GrDashOp.cpp | 874 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()
|
D | GrMSAAPathRenderer.cpp | 133 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()
|
D | GrOvalOpFactory.cpp | 113 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()
|
D | GrAAConvexPathRenderer.cpp | 558 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/ |
D | InstanceProcessor.cpp | 78 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()
|