Home
last modified time | relevance | path

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

/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()
120 gpArgs->fPositionVar.set(kFloat2_GrSLType, "pos2"); in writeOutputPosition()
121 vertBuilder->codeAppendf("float2 %s = %s;", gpArgs->fPositionVar.c_str(), posName); in writeOutputPosition()
131 gpArgs->fPositionVar.set(kFloat2_GrSLType, "pos2"); in writeOutputPosition()
[all …]
DGrGLSLGeometryProcessor.h55 GrShaderVar fPositionVar; member
/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()
120 gpArgs->fPositionVar.set(kFloat2_GrSLType, "pos2"); in writeOutputPosition()
121 vertBuilder->codeAppendf("float2 %s = %s;", gpArgs->fPositionVar.c_str(), posName); in writeOutputPosition()
131 gpArgs->fPositionVar.set(kFloat2_GrSLType, "pos2"); in writeOutputPosition()
[all …]
DGrGLSLGeometryProcessor.h55 GrShaderVar fPositionVar; member
/external/skqp/src/gpu/ccpr/
DGrCCCoverageProcessor_VSImpl.cpp57 SkASSERT(kFloat2_GrSLType == gpArgs->fPositionVar.getType()); in onEmitCode()
62 gpArgs->fPositionVar.c_str(), coverage, "wind"); in onEmitCode()
271 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in emitVertexPosition()
338 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in emitVertexPosition()
DGrCCPathProcessor.cpp196 gpArgs->fPositionVar.set(kFloat2_GrSLType, "octocoord"); in onEmitCode()
DGrCCCoverageProcessor_GSImpl.cpp34 gpArgs->fPositionVar.set(4 == proc.numInputPoints() ? kFloat4_GrSLType : kFloat3_GrSLType, in onEmitCode()
/external/skia/src/gpu/ccpr/
DGrCCCoverageProcessor_VSImpl.cpp67 SkASSERT(kFloat2_GrSLType == gpArgs->fPositionVar.getType()); in onEmitCode()
72 gpArgs->fPositionVar.c_str(), coverage, "wind"); in onEmitCode()
281 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in emitVertexPosition()
348 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in emitVertexPosition()
DGrCCPathProcessor.cpp198 gpArgs->fPositionVar.set(kFloat2_GrSLType, "octocoord"); in onEmitCode()
DGrCCCoverageProcessor_GSImpl.cpp34 gpArgs->fPositionVar.set(GrVertexAttribTypeToSLType(proc.getAttrib(0).fType), in onEmitCode()
/external/skqp/tests/
DGrPipelineDynamicStateTest.cpp94 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
DGrMeshTest.cpp342 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
/external/skia/tests/
DGrPipelineDynamicStateTest.cpp94 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
DGrMeshTest.cpp342 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
/external/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.cpp57 gpArgs->fPositionVar = dfTexEffect.inPosition()->asShaderVar(); in onEmitCode()
617 gpArgs->fPositionVar = dfTexEffect.inPosition()->asShaderVar(); in onEmitCode()
DGrBezierEffect.cpp558 v.vsOut(), devkLMMatrixName, gpArgs->fPositionVar.c_str()); in onEmitCode()
/external/skqp/src/gpu/effects/
DGrDistanceFieldGeoProc.cpp57 gpArgs->fPositionVar = dfTexEffect.inPosition()->asShaderVar(); in onEmitCode()
601 gpArgs->fPositionVar = dfTexEffect.inPosition()->asShaderVar(); in onEmitCode()
DGrBezierEffect.cpp558 v.vsOut(), devkLMMatrixName, gpArgs->fPositionVar.c_str()); in onEmitCode()