/external/skia/src/gpu/glsl/ |
D | GrGLSLGeometryProcessor.cpp | 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() 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 …]
|
D | GrGLSLGeometryProcessor.h | 55 GrShaderVar fPositionVar; member
|
/external/skqp/src/gpu/glsl/ |
D | GrGLSLGeometryProcessor.cpp | 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() 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 …]
|
D | GrGLSLGeometryProcessor.h | 55 GrShaderVar fPositionVar; member
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCCoverageProcessor_VSImpl.cpp | 57 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()
|
D | GrCCPathProcessor.cpp | 196 gpArgs->fPositionVar.set(kFloat2_GrSLType, "octocoord"); in onEmitCode()
|
D | GrCCCoverageProcessor_GSImpl.cpp | 34 gpArgs->fPositionVar.set(4 == proc.numInputPoints() ? kFloat4_GrSLType : kFloat3_GrSLType, in onEmitCode()
|
/external/skia/src/gpu/ccpr/ |
D | GrCCCoverageProcessor_VSImpl.cpp | 67 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()
|
D | GrCCPathProcessor.cpp | 198 gpArgs->fPositionVar.set(kFloat2_GrSLType, "octocoord"); in onEmitCode()
|
D | GrCCCoverageProcessor_GSImpl.cpp | 34 gpArgs->fPositionVar.set(GrVertexAttribTypeToSLType(proc.getAttrib(0).fType), in onEmitCode()
|
/external/skqp/tests/ |
D | GrPipelineDynamicStateTest.cpp | 94 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
|
D | GrMeshTest.cpp | 342 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
|
/external/skia/tests/ |
D | GrPipelineDynamicStateTest.cpp | 94 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
|
D | GrMeshTest.cpp | 342 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
|
/external/skia/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.cpp | 57 gpArgs->fPositionVar = dfTexEffect.inPosition()->asShaderVar(); in onEmitCode() 617 gpArgs->fPositionVar = dfTexEffect.inPosition()->asShaderVar(); in onEmitCode()
|
D | GrBezierEffect.cpp | 558 v.vsOut(), devkLMMatrixName, gpArgs->fPositionVar.c_str()); in onEmitCode()
|
/external/skqp/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.cpp | 57 gpArgs->fPositionVar = dfTexEffect.inPosition()->asShaderVar(); in onEmitCode() 601 gpArgs->fPositionVar = dfTexEffect.inPosition()->asShaderVar(); in onEmitCode()
|
D | GrBezierEffect.cpp | 558 v.vsOut(), devkLMMatrixName, gpArgs->fPositionVar.c_str()); in onEmitCode()
|