Home
last modified time | relevance | path

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

12

/external/skqp/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp17 GrGPArgs gpArgs; in emitCode() local
18 this->onEmitCode(args, &gpArgs); in emitCode()
23 SkASSERT(kFloat2_GrSLType == gpArgs.fPositionVar.getType() || in emitCode()
24 kFloat3_GrSLType == gpArgs.fPositionVar.getType()); in emitCode()
25 vBuilder->emitNormalizedSkPosition(gpArgs.fPositionVar.c_str(), args.fRTAdjustName, in emitCode()
26 gpArgs.fPositionVar.getType()); in emitCode()
27 if (kFloat2_GrSLType == gpArgs.fPositionVar.getType()) { in emitCode()
35 vBuilder->codeAppendf("sk_Position = float4(%s", gpArgs.fPositionVar.c_str()); in emitCode()
36 switch (gpArgs.fPositionVar.getType()) { in emitCode()
116 GrGPArgs* gpArgs, in writeOutputPosition() argument
[all …]
/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp21 GrGPArgs gpArgs; in emitCode() local
22 this->onEmitCode(args, &gpArgs); in emitCode()
24 if (gpArgs.fLocalCoordVar.getType() != kVoid_GrSLType) { in emitCode()
26 gpArgs.fLocalCoordVar, args.fFPCoordTransformHandler); in emitCode()
41 SkASSERT(kFloat2_GrSLType == gpArgs.fPositionVar.getType() || in emitCode()
42 kFloat3_GrSLType == gpArgs.fPositionVar.getType()); in emitCode()
43 vBuilder->emitNormalizedSkPosition(gpArgs.fPositionVar.c_str(), in emitCode()
44 gpArgs.fPositionVar.getType()); in emitCode()
45 if (kFloat2_GrSLType == gpArgs.fPositionVar.getType()) { in emitCode()
53 vBuilder->codeAppendf("sk_Position = float4(%s", gpArgs.fPositionVar.c_str()); in emitCode()
[all …]
/external/skia/src/gpu/tessellate/
DGrFillPathShader.cpp17 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
29 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in onEmitCode()
30 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localcoord"); in onEmitCode()
DGrStencilPathShader.cpp68 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
87 gpArgs->fPositionVar = vertexPos; in onEmitCode()
367 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
398 gpArgs->fPositionVar = vertexPos; in onEmitCode()
DGrStrokeTessellateShader.cpp89 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
997 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
1238 gpArgs->fPositionVar.set(kFloat2_GrSLType, "strokeCoord"); in onEmitCode()
1239 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "strokeCoord"); in onEmitCode()
1244 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in onEmitCode()
1245 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "strokeCoord"); in onEmitCode()
1251 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in onEmitCode()
1252 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localCoord"); in onEmitCode()
DGrDrawAtlasPathOp.cpp58 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
87 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devcoord"); in onEmitCode()
93 gpArgs->fLocalCoordVar.set(kFloat2_GrSLType, "localcoord"); in onEmitCode()
/external/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.cpp28 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument
60 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode()
64 gpArgs, in onEmitCode()
65 gpArgs->fPositionVar, in onEmitCode()
325 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument
359 gpArgs, in onEmitCode()
363 gpArgs->fLocalCoordVar = dfPathEffect.inPosition().asShaderVar(); in onEmitCode()
366 WriteOutputPosition(vertBuilder, gpArgs, dfPathEffect.inPosition().name()); in onEmitCode()
370 gpArgs, in onEmitCode()
599 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument
[all …]
DGrBezierEffect.cpp65 void GrGLConicEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
87 gpArgs, in onEmitCode()
95 gpArgs, in onEmitCode()
276 void GrGLQuadEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
298 gpArgs, in onEmitCode()
306 gpArgs, in onEmitCode()
DGrShadowGeoProc.cpp21 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
37 WriteOutputPosition(vertBuilder, gpArgs, rsgp.inPosition().name()); in onEmitCode()
DGrBitmapTextGeoProc.cpp28 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
57 gpArgs->fPositionVar = btgp.inPosition().asShaderVar(); in onEmitCode()
61 gpArgs, in onEmitCode()
/external/skqp/src/gpu/effects/
DGrShadowGeoProc.cpp20 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
36 this->writeOutputPosition(vertBuilder, gpArgs, rsgp.inPosition().name()); in onEmitCode()
DGrDistanceFieldGeoProc.cpp29 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument
59 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode()
327 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument
361 gpArgs, in onEmitCode()
374 this->writeOutputPosition(vertBuilder, gpArgs, dfPathEffect.inPosition().name()); in onEmitCode()
617 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override{ in onEmitCode() argument
641 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode()
DGrBezierEffect.cpp69 void GrGLConicEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
89 gpArgs, in onEmitCode()
320 void GrGLQuadEffect::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
340 gpArgs, in onEmitCode()
DGrBitmapTextGeoProc.cpp25 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
58 gpArgs->fPositionVar = btgp.inPosition().asShaderVar(); in onEmitCode()
/external/skqp/src/gpu/ccpr/
DGrCCPathProcessor.cpp99 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override;
142 void GLSLPathProcessor::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
203 gpArgs->fPositionVar.set(kFloat2_GrSLType, "octocoord"); in onEmitCode()
DGrCCCoverageProcessor_VSImpl.cpp254 void GrCCCoverageProcessor::VSImpl::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
364 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
435 gpArgs->fPositionVar.c_str(), "coverage", "corner_coverage"); in onEmitCode()
DGrCCStroker.cpp92 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override;
100 void LinearStrokeProcessor::Impl::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
135 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in onEmitCode()
183 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override;
191 void CubicStrokeProcessor::Impl::onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) { in onEmitCode() argument
257 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in onEmitCode()
/external/skia/src/gpu/
DGrDefaultGeoProcFactory.cpp66 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
113 gpArgs, in onEmitCode()
121 gpArgs->fLocalCoordVar = gp.fInLocalCoords.asShaderVar(); in onEmitCode()
126 gpArgs, in onEmitCode()
/external/skia/tools/gpu/
DTestOps.cpp61 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
71 WriteOutputPosition(args.fVertBuilder, gpArgs, gp.fInPosition.name()); in onEmitCode()
75 gpArgs, in onEmitCode()
/external/skqp/gm/
Dfwidth_squircle.cpp60 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
79 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in onEmitCode()
Dclockwise.cpp66 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
69 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
/external/skqp/tests/
DPrimitiveProcessorTest.cpp75 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onPrepareDraws() argument
78 this->writeOutputPosition(args.fVertBuilder, gpArgs, in onPrepareDraws()
DGrPipelineDynamicStateTest.cpp87 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) final { in onEmitCode() argument
97 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
/external/skia/tests/
DPrimitiveProcessorTest.cpp79 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onCreateProgramInfo() argument
82 WriteOutputPosition(args.fVertBuilder, gpArgs, gp.fAttributes[0].name()); in onCreateProgramInfo()
/external/skia/gm/
Dfwidth_squircle.cpp91 void onEmitCode(EmitArgs& args, GrGPArgs* gpArgs) override { in onEmitCode() argument
110 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in onEmitCode()

12