/external/skia/src/gpu/ganesh/ |
D | GrGeometryProcessor.cpp | 365 static void write_passthrough_vertex_position(GrGLSLVertexBuilder* vertBuilder, in write_passthrough_vertex_position() argument 369 SkString outName = vertBuilder->newTmpVarName(inPos.getName().c_str()); in write_passthrough_vertex_position() 371 vertBuilder->codeAppendf("float%d %s = %s;", in write_passthrough_vertex_position() 377 static void write_vertex_position(GrGLSLVertexBuilder* vertBuilder, in write_vertex_position() argument 386 SkString outName = vertBuilder->newTmpVarName(inPos.getName().c_str()); in write_vertex_position() 389 write_passthrough_vertex_position(vertBuilder, inPos, outPos); in write_vertex_position() 406 vertBuilder->codeAppendf("float3 %s = %s.xz1 * %s + %s.yw0;\n", in write_vertex_position() 412 vertBuilder->codeAppendf("float3 %s = %s * %s;\n", in write_vertex_position() 423 vertBuilder->codeAppendf("float3 %s = (%s * %s.xy1);", in write_vertex_position() 431 vertBuilder->codeAppendf("float2 %s = %s.xz * %s + %s.yw;\n", in write_vertex_position() [all …]
|
D | GrDefaultGeoProcFactory.cpp | 99 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() local 120 vertBuilder->codeAppendf("half4 color = %s;", gp.fInColor.name()); in onEmitCode() 128 vertBuilder->codeAppendf("half4 color = %s;", colorUniformName); in onEmitCode() 133 vertBuilder->codeAppendf("color = color * %s;", gp.fInCoverage.name()); in onEmitCode() 135 vertBuilder->codeAppendf("%s = color;\n", varying.vsOut()); in onEmitCode() 143 WriteOutputPosition(vertBuilder, in onEmitCode() 156 WriteLocalCoord(vertBuilder, in onEmitCode()
|
D | GrGeometryProcessor.h | 287 EmitArgs(GrGLSLVertexBuilder* vertBuilder, in EmitArgs() 296 : fVertBuilder(vertBuilder) in EmitArgs()
|
/external/skia/src/gpu/ganesh/effects/ |
D | GrBezierEffect.cpp | 54 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() local 64 vertBuilder->codeAppendf("%s = %s;", v.vsOut(), gp.inConicCoeffs().name()); in onEmitCode() 72 WriteOutputPosition(vertBuilder, in onEmitCode() 80 WriteLocalCoord(vertBuilder, in onEmitCode() 242 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() local 252 vertBuilder->codeAppendf("%s = %s;", v.vsOut(), gp.inHairQuadEdge().name()); in onEmitCode() 260 WriteOutputPosition(vertBuilder, in onEmitCode() 268 WriteLocalCoord(vertBuilder, in onEmitCode()
|
D | GrShadowGeoProc.cpp | 26 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() local 41 WriteOutputPosition(vertBuilder, gpArgs, rsgp.inPosition().name()); in onEmitCode()
|
D | GrDistanceFieldGeoProc.cpp | 59 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() local 88 WriteLocalCoord(vertBuilder, in onEmitCode() 347 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() local 377 WriteLocalCoord(vertBuilder, in onEmitCode() 600 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() local 623 WriteLocalCoord(vertBuilder, in onEmitCode() 644 vertBuilder->codeAppendf("%s = -%s.x/3.0;", delta.vsOut(), atlasDimensionsInvName); in onEmitCode() 646 vertBuilder->codeAppendf("%s = %s.x/3.0;", delta.vsOut(), atlasDimensionsInvName); in onEmitCode()
|
D | GrBitmapTextGeoProc.cpp | 53 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() local 88 WriteLocalCoord(vertBuilder, in onEmitCode()
|
/external/skia/bench/ |
D | VertexColorSpaceBench.cpp | 62 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in makeProgramImpl() local 72 vertBuilder->codeAppendf("half4 color = %s;", gp.fInColor.name()); in makeProgramImpl() 78 vertBuilder->appendColorGamutXform(&xformedColor, "color", &fColorSpaceHelper); in makeProgramImpl() 79 vertBuilder->codeAppendf("color = %s;", xformedColor.c_str()); in makeProgramImpl() 80 vertBuilder->codeAppend("color = half4(color.rgb * color.a, color.a);"); in makeProgramImpl() 83 vertBuilder->codeAppendf("%s = color;", varying.vsOut()); in makeProgramImpl()
|
/external/skia/src/gpu/ganesh/ops/ |
D | DrawMeshOp.cpp | 210 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() local 244 SkString userVertName = vertBuilder->getMangledFunctionName("custom_mesh_vs"); in onEmitCode() 248 vertBuilder, in onEmitCode() 259 vertBuilder->codeAppendf("%s attributes;", in onEmitCode() 265 vertBuilder->codeAppendf("attributes.%s = %s;", in onEmitCode() 272 vertBuilder->codeAppendf("%s varyings = %s(attributes);", in onEmitCode() 278 vertBuilder->codeAppendf("float2 local = varyings.%s\n;", in onEmitCode() 300 vertBuilder->codeAppendf("%s = varyings.%s;", in onEmitCode() 311 vertBuilder->codeAppend("float2 pos = varyings.position;"); in onEmitCode() 313 WriteOutputPosition(vertBuilder, in onEmitCode()
|
D | DashOp.cpp | 771 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() local 781 vertBuilder->codeAppendf("%s = %s;", dashParams.vsOut(), dce.fInDashParams.name()); in onEmitCode() 786 vertBuilder->codeAppendf("%s = %s;", circleParams.vsOut(), dce.fInCircleParams.name()); in onEmitCode() 794 WriteOutputPosition(vertBuilder, gpArgs, dce.fInPosition.name()); in onEmitCode() 796 WriteLocalCoord(vertBuilder, in onEmitCode() 960 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() local 970 vertBuilder->codeAppendf("%s = %s;", inDashParams.vsOut(), de.fInDashParams.name()); in onEmitCode() 976 vertBuilder->codeAppendf("%s = %s;", inRectParams.vsOut(), de.fInRect.name()); in onEmitCode() 984 WriteOutputPosition(vertBuilder, gpArgs, de.fInPosition.name()); in onEmitCode() 986 WriteLocalCoord(vertBuilder, in onEmitCode()
|
D | GrOvalOpFactory.cpp | 143 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() local 177 vertBuilder->codeAppendf("%s = (1.0 - %s.w) / 2.0;", capRadius.vsOut(), in onEmitCode() 186 WriteOutputPosition(vertBuilder, gpArgs, cgp.fInPosition.name()); in onEmitCode() 187 WriteLocalCoord(vertBuilder, in onEmitCode() 324 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode() local 346 vertBuilder->codeAppendf("float4 dashParams = %s;", bcscgp.fInDashParams.name()); in onEmitCode() 363 vertBuilder->codeAppend( in onEmitCode() 401 vertBuilder->codeAppendf("%s = half4(wrapDashes);", wrapDashes.vsOut()); in onEmitCode() 402 vertBuilder->codeAppendf("%s = lastIntervalLength;", lastIntervalLength.vsOut()); in onEmitCode() 414 WriteOutputPosition(vertBuilder, gpArgs, bcscgp.fInPosition.name()); in onEmitCode() [all …]
|
D | AAConvexPathRenderer.cpp | 614 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in makeProgramImpl() local 626 vertBuilder->codeAppendf("%s = %s;", v.vsOut(), qe.fInQuadEdge.name()); in makeProgramImpl() 633 WriteOutputPosition(vertBuilder, gpArgs, qe.fInPosition.name()); in makeProgramImpl() 635 WriteLocalCoord(vertBuilder, in makeProgramImpl()
|