/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() 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 …]
|
D | GrGLSLGeometryProcessor.h | 55 GrShaderVar fPositionVar; member
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLGeometryProcessor.cpp | 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() 54 switch (gpArgs.fPositionVar.getType()) { in emitCode() 381 write_passthrough_vertex_position(vertBuilder, inPos, &gpArgs->fPositionVar); in WriteOutputPosition() 398 &gpArgs->fPositionVar, in WriteOutputPosition()
|
D | GrGLSLGeometryProcessor.h | 167 GrShaderVar fPositionVar; member
|
/external/skia/src/gpu/tessellate/ |
D | GrStencilPathShader.cpp | 87 gpArgs->fPositionVar = vertexPos; in onEmitCode() 398 gpArgs->fPositionVar = vertexPos; in onEmitCode()
|
D | GrFillPathShader.cpp | 29 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in onEmitCode()
|
D | GrStrokeTessellateShader.cpp | 1238 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()
|
D | GrDrawAtlasPathOp.cpp | 87 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devcoord"); in onEmitCode()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCCoverageProcessor_VSImpl.cpp | 364 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode() 435 gpArgs->fPositionVar.c_str(), "coverage", "corner_coverage"); in onEmitCode()
|
D | GrCCPathProcessor.cpp | 203 gpArgs->fPositionVar.set(kFloat2_GrSLType, "octocoord"); in onEmitCode()
|
D | GrCCCoverageProcessor_GSImpl.cpp | 35 gpArgs->fPositionVar = proc.fVertexAttribute.asShaderVar(); in onEmitCode()
|
D | GrCCStroker.cpp | 135 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in onEmitCode() 257 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in onEmitCode()
|
/external/skqp/gm/ |
D | fwidth_squircle.cpp | 79 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in onEmitCode()
|
D | clockwise.cpp | 69 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
|
/external/skia/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.cpp | 60 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode() 65 gpArgs->fPositionVar, in onEmitCode() 624 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode()
|
D | GrBitmapTextGeoProc.cpp | 57 gpArgs->fPositionVar = btgp.inPosition().asShaderVar(); in onEmitCode()
|
/external/skia/gm/ |
D | fwidth_squircle.cpp | 110 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in onEmitCode()
|
D | clockwise.cpp | 114 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in onEmitCode()
|
/external/skqp/tests/ |
D | GrPipelineDynamicStateTest.cpp | 97 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
|
/external/skqp/src/gpu/effects/ |
D | GrBitmapTextGeoProc.cpp | 58 gpArgs->fPositionVar = btgp.inPosition().asShaderVar(); in onEmitCode()
|
D | GrDistanceFieldGeoProc.cpp | 59 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode() 641 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode()
|
/external/skia/tests/ |
D | GrPipelineDynamicStateTest.cpp | 109 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
|
/external/skqp/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 583 gpArgs->fPositionVar = {"position", in createGLSLInstance() 589 gpArgs->fPositionVar = gp.fPosition.asShaderVar(); in createGLSLInstance()
|
D | GrAAFillRRectOp.cpp | 378 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devcoord"); in onEmitCode()
|
/external/skia/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 628 gpArgs->fPositionVar = {"position", in createGLSLInstance() 634 gpArgs->fPositionVar = gp.fPosition.asShaderVar(); in createGLSLInstance()
|