Home
last modified time | relevance | path

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

/external/skia/src/gpu/gl/
DGrGLGeometryProcessor.cpp14 GrGPArgs gpArgs; in emitCode() local
15 this->onEmitCode(args, &gpArgs); in emitCode()
16 vsBuilder->transformToNormalizedDeviceSpace(gpArgs.fPositionVar); in emitCode()
93 GrGPArgs* gpArgs, in setupPosition() argument
98 gpArgs->fPositionVar.set(kVec2f_GrSLType, "pos2"); in setupPosition()
100 vsBuilder->codeAppendf("vec2 %s = %s;", gpArgs->fPositionVar.c_str(), posName); in setupPosition()
103 gpArgs->fPositionVar.set(kVec2f_GrSLType, "pos2"); in setupPosition()
106 gpArgs->fPositionVar.c_str(), this->uViewM(), posName); in setupPosition()
109 gpArgs->fPositionVar.set(kVec3f_GrSLType, "pos3"); in setupPosition()
112 gpArgs->fPositionVar.c_str(), this->uViewM(), posName); in setupPosition()
DGrGLGeometryProcessor.h68 GrGPArgs* gpArgs,
/external/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.cpp40 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument
68 this->setupPosition(pb, gpArgs, dfTexEffect.inPosition()->fName, dfTexEffect.viewMatrix()); in onEmitCode()
71 this->emitTransforms(args.fPB, gpArgs->fPositionVar, dfTexEffect.inPosition()->fName, in onEmitCode()
285 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument
309 this->setupPosition(pb, gpArgs, dfTexEffect.inPosition()->fName, dfTexEffect.viewMatrix()); in onEmitCode()
312 this->emitTransforms(args.fPB, gpArgs->fPositionVar, dfTexEffect.inPosition()->fName, in onEmitCode()
507 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument
523 this->setupPosition(pb, gpArgs, dfTexEffect.inPosition()->fName, dfTexEffect.viewMatrix()); in onEmitCode()
526 this->emitTransforms(args.fPB, gpArgs->fPositionVar, dfTexEffect.inPosition()->fName, in onEmitCode()
DGrBezierEffect.cpp77 void GrGLConicEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
95 this->setupPosition(pb, gpArgs, gp.inPosition()->fName, gp.viewMatrix()); in onEmitCode()
98 this->emitTransforms(pb, gpArgs->fPositionVar, gp.inPosition()->fName, gp.localMatrix(), in onEmitCode()
306 void GrGLQuadEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
324 this->setupPosition(pb, gpArgs, gp.inPosition()->fName, gp.viewMatrix()); in onEmitCode()
327 this->emitTransforms(pb, gpArgs->fPositionVar, gp.inPosition()->fName, gp.localMatrix(), in onEmitCode()
508 void GrGLCubicEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
525 this->setupPosition(args.fPB, gpArgs, gp.inPosition()->fName, gp.viewMatrix()); in onEmitCode()
528 this->emitTransforms(args.fPB, gpArgs->fPositionVar, gp.inPosition()->fName, args.fTransformsIn, in onEmitCode()
DGrBitmapTextGeoProc.cpp29 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument
57 this->setupPosition(pb, gpArgs, cte.inPosition()->fName); in onEmitCode()
60 this->emitTransforms(args.fPB, gpArgs->fPositionVar, cte.inPosition()->fName, in onEmitCode()
DGrDashingEffect.cpp856 void GLDashingCircleEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
879 this->setupPosition(pb, gpArgs, dce.inPosition()->fName); in onEmitCode()
882 this->emitTransforms(args.fPB, gpArgs->fPositionVar, dce.inPosition()->fName, dce.localMatrix(), in onEmitCode()
1077 void GLDashingLineEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
1102 this->setupPosition(pb, gpArgs, de.inPosition()->fName); in onEmitCode()
1105 this->emitTransforms(args.fPB, gpArgs->fPositionVar, de.inPosition()->fName, de.localMatrix(), in onEmitCode()
/external/skia/src/gpu/
DGrDefaultGeoProcFactory.cpp72 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
86 this->setupPosition(pb, gpArgs, gp.inPosition()->fName, gp.viewMatrix()); in onEmitCode()
90 this->emitTransforms(pb, gpArgs->fPositionVar, gp.inLocalCoords()->fName, in onEmitCode()
94 this->emitTransforms(pb, gpArgs->fPositionVar, gp.inPosition()->fName, in onEmitCode()
DGrOvalRenderer.cpp94 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument
112 this->setupPosition(pb, gpArgs, ce.inPosition()->fName); in onEmitCode()
115 this->emitTransforms(args.fPB, gpArgs->fPositionVar, ce.inPosition()->fName, in onEmitCode()
257 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument
281 this->setupPosition(pb, gpArgs, ee.inPosition()->fName); in onEmitCode()
284 this->emitTransforms(args.fPB, gpArgs->fPositionVar, ee.inPosition()->fName, in onEmitCode()
448 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument
472 this->setupPosition(pb, gpArgs, ee.inPosition()->fName, ee.viewMatrix()); in onEmitCode()
475 this->emitTransforms(args.fPB, gpArgs->fPositionVar, ee.inPosition()->fName, in onEmitCode()
DGrAAConvexPathRenderer.cpp547 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
566 this->setupPosition(pb, gpArgs, qe.inPosition()->fName); in onEmitCode()
569 this->emitTransforms(args.fPB, gpArgs->fPositionVar, qe.inPosition()->fName, in onEmitCode()