Home
last modified time | relevance | path

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

12

/third_party/flutter/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
/third_party/skia/src/gpu/
DGrGeometryProcessor.cpp70 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/
DGrSampleMaskProcessor.cpp38 gpArgs->fPositionVar = proc.fInputAttribs.front().asShaderVar(); in onEmitCode()
52 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in onEmitCode()
DGrCCPathProcessor.cpp217 gpArgs->fPositionVar.set(kFloat2_GrSLType, "octocoord"); in onEmitCode()
218 this->emitTransforms(v, varyingHandler, uniHandler, gpArgs->fPositionVar, proc.fLocalMatrix, in onEmitCode()
DGrStencilAtlasOp.cpp51 gpArgs->fPositionVar.set(kFloat2_GrSLType, "atlascoord"); in onEmitCode()
DGrCCStroker.cpp135 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in onEmitCode()
257 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in onEmitCode()
/third_party/skia/src/gpu/tessellate/shaders/
DGrStrokeTessellationShader.cpp327 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in emitTessellationCode()
334 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in emitTessellationCode()
DGrPathTessellationShader_MiddleOut.cpp197 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in makeProgramImpl()
DGrPathTessellationShader.cpp51 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in makeProgramImpl()
DGrStrokeTessellationShader_HardwareImpl.cpp642 gpArgs.fPositionVar.c_str()); in getTessEvaluationShaderGLSL()
/third_party/skia/src/gpu/ops/
DDrawAtlasPathOp.cpp93 gpArgs->fPositionVar.set(kFloat2_GrSLType, "devCoord"); in onEmitCode()
103 shader.fAtlasHelper->injectShaderCode(args, gpArgs->fPositionVar, &fAtlasAdjustUniform); in onEmitCode()
DPathStencilCoverOp.cpp88 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in makeProgramImpl()
/third_party/flutter/skia/src/gpu/ops/
DGrFillRRectOp.cpp455 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/
Dfwidth_squircle.cpp102 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in onEmitCode()
Dclockwise.cpp106 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in onEmitCode()
Dsamplelocations.cpp155 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertexpos"); in onEmitCode()
/third_party/skia/src/gpu/effects/
DGrDistanceFieldGeoProc.cpp84 gpArgs->fPositionVar = dfTexEffect.fInPosition.asShaderVar(); in onEmitCode()
89 gpArgs->fPositionVar, in onEmitCode()
632 gpArgs->fPositionVar = dfTexEffect.fInPosition.asShaderVar(); in onEmitCode()
DGrBitmapTextGeoProc.cpp79 gpArgs->fPositionVar = btgp.fInPosition.asShaderVar(); in onEmitCode()
/third_party/skia/gm/
Dfwidth_squircle.cpp122 gpArgs->fPositionVar.set(kFloat3_GrSLType, "vertexpos"); in makeProgramImpl()
Dclockwise.cpp107 gpArgs->fPositionVar.set(kFloat2_GrSLType, "position"); in makeProgramImpl()
/third_party/flutter/skia/src/gpu/effects/
DGrBitmapTextGeoProc.cpp57 gpArgs->fPositionVar = btgp.inPosition().asShaderVar(); in onEmitCode()
DGrDistanceFieldGeoProc.cpp58 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode()
642 gpArgs->fPositionVar = dfTexEffect.inPosition().asShaderVar(); in onEmitCode()
/third_party/flutter/skia/tests/
DGrPipelineDynamicStateTest.cpp100 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in onEmitCode()
/third_party/skia/tests/
DGrPipelineDynamicStateTest.cpp111 gpArgs->fPositionVar.set(kFloat2_GrSLType, "vertex"); in makeProgramImpl()

12