Home
last modified time | relevance | path

Searched refs:fPositionVar (Results 1 – 25 of 28) sorted by relevance

12

/external/skqp/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp23 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()
118 gpArgs->fPositionVar.set(kFloat2_GrSLType, "pos2"); in writeOutputPosition()
119 vertBuilder->codeAppendf("float2 %s = %s;", gpArgs->fPositionVar.c_str(), posName); in writeOutputPosition()
129 gpArgs->fPositionVar.set(kFloat2_GrSLType, "pos2"); in writeOutputPosition()
[all …]
DGrGLSLGeometryProcessor.h55 GrShaderVar fPositionVar; member
/external/skia/src/gpu/glsl/
DGrGLSLGeometryProcessor.cpp41 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()
54 switch (gpArgs.fPositionVar.getType()) { in emitCode()
381 write_passthrough_vertex_position(vertBuilder, inPos, &gpArgs->fPositionVar); in WriteOutputPosition()
398 &gpArgs->fPositionVar, in WriteOutputPosition()
DGrGLSLGeometryProcessor.h167 GrShaderVar fPositionVar; member
/external/skia/src/gpu/tessellate/
DGrStencilPathShader.cpp87 gpArgs->fPositionVar = vertexPos; in onEmitCode()
398 gpArgs->fPositionVar = vertexPos; in onEmitCode()
DGrFillPathShader.cpp29 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in onEmitCode()
DGrStrokeTessellateShader.cpp1238 gpArgs->fPositionVar.set(kFloat2_GrSLType, "strokeCoord"); in onEmitCode()
1244 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in onEmitCode()
1251 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in onEmitCode()
DGrDrawAtlasPathOp.cpp87 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devcoord"); in onEmitCode()
/external/skqp/src/gpu/ccpr/
DGrCCCoverageProcessor_VSImpl.cpp364 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
435 gpArgs->fPositionVar.c_str(), "coverage", "corner_coverage"); in onEmitCode()
DGrCCPathProcessor.cpp203 gpArgs->fPositionVar.set(kFloat2_GrSLType, "octocoord"); in onEmitCode()
DGrCCCoverageProcessor_GSImpl.cpp35 gpArgs->fPositionVar = proc.fVertexAttribute.asShaderVar(); in onEmitCode()
DGrCCStroker.cpp135 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in onEmitCode()
257 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in onEmitCode()
/external/skqp/gm/
Dfwidth_squircle.cpp79 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in onEmitCode()
Dclockwise.cpp69 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
/external/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.cpp60 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode()
65 gpArgs->fPositionVar, in onEmitCode()
624 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode()
DGrBitmapTextGeoProc.cpp57 gpArgs->fPositionVar = btgp.inPosition().asShaderVar(); in onEmitCode()
/external/skia/gm/
Dfwidth_squircle.cpp110 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in onEmitCode()
Dclockwise.cpp114 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in onEmitCode()
/external/skqp/tests/
DGrPipelineDynamicStateTest.cpp97 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
/external/skqp/src/gpu/effects/
DGrBitmapTextGeoProc.cpp58 gpArgs->fPositionVar = btgp.inPosition().asShaderVar(); in onEmitCode()
DGrDistanceFieldGeoProc.cpp59 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode()
641 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode()
/external/skia/tests/
DGrPipelineDynamicStateTest.cpp109 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
/external/skqp/src/gpu/ops/
DGrQuadPerEdgeAA.cpp583 gpArgs->fPositionVar = {"position", in createGLSLInstance()
589 gpArgs->fPositionVar = gp.fPosition.asShaderVar(); in createGLSLInstance()
DGrAAFillRRectOp.cpp378 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devcoord"); in onEmitCode()
/external/skia/src/gpu/ops/
DGrQuadPerEdgeAA.cpp628 gpArgs->fPositionVar = {"position", in createGLSLInstance()
634 gpArgs->fPositionVar = gp.fPosition.asShaderVar(); in createGLSLInstance()

12