Home
last modified time | relevance | path

Searched refs:fPositionVar (Results 1 – 25 of 29) 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.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/ccpr/
DGrCCCoverageProcessor_VSImpl.cpp365 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
436 gpArgs->fPositionVar.c_str(), "coverage", "corner_coverage"); in onEmitCode()
DGrCCPathProcessor.cpp206 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/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/skia/gm/
Dfwidth_squircle.cpp76 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in onEmitCode()
Dclockwise.cpp72 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
Dsamplelocations.cpp114 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); 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/tests/
DGrPipelineDynamicStateTest.cpp100 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
DGrMeshTest.cpp361 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
/external/skia/src/gpu/effects/
DGrBitmapTextGeoProc.cpp57 gpArgs->fPositionVar = btgp.inPosition().asShaderVar(); in onEmitCode()
DGrDistanceFieldGeoProc.cpp58 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode()
640 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); 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/skqp/tests/
DGrPipelineDynamicStateTest.cpp97 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()

12