/third_party/flutter/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() 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
|
/third_party/skia/src/gpu/ |
D | GrGeometryProcessor.cpp | 70 GrShaderVar positionVar = gpArgs.fPositionVar; in emitCode() 90 SkASSERT(kFloat2_GrSLType == gpArgs.fPositionVar.getType() || in emitCode() 91 kFloat3_GrSLType == gpArgs.fPositionVar.getType()); in emitCode() 92 vBuilder->emitNormalizedSkPosition(gpArgs.fPositionVar.c_str(), in emitCode() 93 gpArgs.fPositionVar.getType()); in emitCode() 94 if (kFloat2_GrSLType == gpArgs.fPositionVar.getType()) { in emitCode() 439 write_passthrough_vertex_position(vertBuilder, inPos, &gpArgs->fPositionVar); in WriteOutputPosition() 456 &gpArgs->fPositionVar, in WriteOutputPosition()
|
/third_party/flutter/skia/src/gpu/ccpr/ |
D | GrSampleMaskProcessor.cpp | 38 gpArgs->fPositionVar = proc.fInputAttribs.front().asShaderVar(); in onEmitCode() 52 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in onEmitCode()
|
D | GrCCPathProcessor.cpp | 217 gpArgs->fPositionVar.set(kFloat2_GrSLType, "octocoord"); in onEmitCode() 218 this->emitTransforms(v, varyingHandler, uniHandler, gpArgs->fPositionVar, proc.fLocalMatrix, in onEmitCode()
|
D | GrStencilAtlasOp.cpp | 51 gpArgs->fPositionVar.set(kFloat2_GrSLType, "atlascoord"); in onEmitCode()
|
D | GrCCStroker.cpp | 135 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in onEmitCode() 257 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in onEmitCode()
|
/third_party/skia/src/gpu/tessellate/shaders/ |
D | GrStrokeTessellationShader.cpp | 327 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in emitTessellationCode() 334 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in emitTessellationCode()
|
D | GrPathTessellationShader_MiddleOut.cpp | 197 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in makeProgramImpl()
|
D | GrPathTessellationShader.cpp | 51 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in makeProgramImpl()
|
D | GrStrokeTessellationShader_HardwareImpl.cpp | 642 gpArgs.fPositionVar.c_str()); in getTessEvaluationShaderGLSL()
|
/third_party/skia/src/gpu/ops/ |
D | DrawAtlasPathOp.cpp | 93 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in onEmitCode() 103 shader.fAtlasHelper->injectShaderCode(args, gpArgs->fPositionVar, &fAtlasAdjustUniform); in onEmitCode()
|
D | PathStencilCoverOp.cpp | 88 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in makeProgramImpl()
|
/third_party/flutter/skia/src/gpu/ops/ |
D | GrFillRRectOp.cpp | 455 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devcoord"); in onEmitCode() 633 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devcoord"); in onEmitCode() 637 gpArgs->fPositionVar.set(kFloat3_GrSLType, "devcoord"); in onEmitCode()
|
/third_party/flutter/skia/gm/ |
D | fwidth_squircle.cpp | 102 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in onEmitCode()
|
D | clockwise.cpp | 106 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in onEmitCode()
|
D | samplelocations.cpp | 155 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in onEmitCode()
|
/third_party/skia/src/gpu/effects/ |
D | GrDistanceFieldGeoProc.cpp | 84 gpArgs->fPositionVar = dfTexEffect.fInPosition.asShaderVar(); in onEmitCode() 89 gpArgs->fPositionVar, in onEmitCode() 632 gpArgs->fPositionVar = dfTexEffect.fInPosition.asShaderVar(); in onEmitCode()
|
D | GrBitmapTextGeoProc.cpp | 79 gpArgs->fPositionVar = btgp.fInPosition.asShaderVar(); in onEmitCode()
|
/third_party/skia/gm/ |
D | fwidth_squircle.cpp | 122 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in makeProgramImpl()
|
D | clockwise.cpp | 107 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in makeProgramImpl()
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrBitmapTextGeoProc.cpp | 57 gpArgs->fPositionVar = btgp.inPosition().asShaderVar(); in onEmitCode()
|
D | GrDistanceFieldGeoProc.cpp | 58 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode() 642 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode()
|
/third_party/flutter/skia/tests/ |
D | GrPipelineDynamicStateTest.cpp | 100 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
|
/third_party/skia/tests/ |
D | GrPipelineDynamicStateTest.cpp | 111 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in makeProgramImpl()
|