Home
last modified time | relevance | path

Searched refs:fVertBuilder (Results 1 – 25 of 28) sorted by relevance

12

/external/skia/src/gpu/ganesh/tessellate/
DGrStrokeTessellationShader.cpp190 args.fVertBuilder->defineConstant("float", "PI", "3.141592653589793238"); in onEmitCode()
191 args.fVertBuilder->defineConstant("PRECISION", skgpu::tess::kPrecision); in onEmitCode()
198 args.fVertBuilder->defineConstant("NUM_TOTAL_EDGES", maxEdges); in onEmitCode()
202 args.fVertBuilder->insertFunction(kNumRadialSegmentsPerRadianFn); in onEmitCode()
204 args.fVertBuilder->insertFunction(kRobustNormalizeDiffFn); in onEmitCode()
205 args.fVertBuilder->insertFunction(kCosineBetweenUnitVectorsFn); in onEmitCode()
206 args.fVertBuilder->insertFunction(kMiterExtentFn); in onEmitCode()
207 args.fVertBuilder->insertFunction(kUncheckedMixFn); in onEmitCode()
208 args.fVertBuilder->insertFunction(GrTessellationShader::WangsFormulaSkSL()); in onEmitCode()
217 args.fVertBuilder->codeAppendf( in onEmitCode()
[all …]
DGrPathTessellationShader.cpp312 args.fVertBuilder->codeAppendf("float2x2 AFFINE_MATRIX = float2x2(%s.xy, %s.zw);", in onEmitCode()
314 args.fVertBuilder->codeAppendf("float2 TRANSLATE = %s;", translate); in onEmitCode()
317 args.fVertBuilder, in onEmitCode()
/external/skia/src/gpu/ganesh/effects/
DGrAtlasedShaderHelpers.h31 args.fVertBuilder->codeAppendf( in append_index_uv_varyings()
36 args.fVertBuilder->codeAppendf( in append_index_uv_varyings()
44 args.fVertBuilder->codeAppendf( in append_index_uv_varyings()
49 args.fVertBuilder->codeAppendf( in append_index_uv_varyings()
60 args.fVertBuilder->codeAppendf( in append_index_uv_varyings()
69 args.fVertBuilder->codeAppendf("%s = %s(texIdx);", texIdx->vsOut(), cast); in append_index_uv_varyings()
74 args.fVertBuilder->codeAppendf("%s = unormTexCoords;", st->vsOut()); in append_index_uv_varyings()
DGrShadowGeoProc.cpp26 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
DGrBezierEffect.cpp54 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
242 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
DGrDistanceFieldGeoProc.cpp59 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
347 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
600 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
DGrBitmapTextGeoProc.cpp53 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
/external/skia/src/gpu/ganesh/ops/
DAtlasInstancedHelper.cpp57 args.fVertBuilder->codeAppendf( in injectShaderCode()
74 args.fVertBuilder->codeAppendf(R"( in injectShaderCode()
DDrawAtlasPathOp.cpp92 args.fVertBuilder->codeAppendf(R"( in onEmitCode()
96 args.fVertBuilder->codeAppendf(R"( in onEmitCode()
101 args.fVertBuilder->codeAppendf(R"( in onEmitCode()
DQuadPerEdgeAA.cpp684 args.fVertBuilder->codeAppendf("float3 position = %s.xyz;", in makeProgramImpl()
687 args.fVertBuilder->codeAppendf("float2 position = %s.xy;", in makeProgramImpl()
733 args.fVertBuilder->codeAppendf("%s = %s;", in makeProgramImpl()
774 args.fVertBuilder->codeAppendf("%s = %s.w * %s.z;", in makeProgramImpl()
780 args.fVertBuilder->codeAppendf("%s = %s;", in makeProgramImpl()
DPathStencilCoverOp.cpp76 args.fVertBuilder->codeAppend( in makeProgramImpl()
79 args.fVertBuilder->codeAppend( in makeProgramImpl()
DDashOp.cpp771 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
960 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
DLatticeOp.cpp69 WriteOutputPosition(args.fVertBuilder, gpArgs, latticeGP.fInPosition.name()); in makeProgramImpl()
DGrOvalOpFactory.cpp143 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
324 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
584 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
784 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
/external/skia/tools/gpu/
DTestOps.cpp52 … args.fVertBuilder->codeAppendf("%s = %s;", colorVarying.vsOut(), gp.fInColor.name()); in makeProgramImpl()
56 WriteOutputPosition(args.fVertBuilder, gpArgs, gp.fInPosition.name()); in makeProgramImpl()
57 WriteLocalCoord(args.fVertBuilder, in makeProgramImpl()
/external/skia/bench/
DVertexColorSpaceBench.cpp62 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in makeProgramImpl()
87 WriteOutputPosition(args.fVertBuilder, gpArgs, gp.fInPosition.name()); in makeProgramImpl()
/external/skia/src/gpu/ganesh/
DGrGeometryProcessor.h296 : fVertBuilder(vertBuilder) in EmitArgs()
305 GrGLSLVertexBuilder* fVertBuilder; member
DGrGeometryProcessor.cpp82 FPCoordsMap transformMap = this->collectTransforms(args.fVertBuilder, in emitCode()
90 GrGLSLVertexBuilder* vBuilder = args.fVertBuilder; in emitCode()
DGrDefaultGeoProcFactory.cpp99 GrGLSLVertexBuilder* vertBuilder = args.fVertBuilder; in onEmitCode()
/external/skia/tests/
DPrimitiveProcessorTest.cpp113 WriteOutputPosition(args.fVertBuilder, gpArgs, gp.fAttributes[0].name()); in onCreateProgramInfo()
DGrPipelineDynamicStateTest.cpp137 GrGLSLVertexBuilder* v = args.fVertBuilder; in makeProgramImpl()
DGrGpuBufferTest.cpp174 WriteOutputPosition(args.fVertBuilder, gpArgs, kPos.name()); in makeProgramImpl()
DGrMeshTest.cpp549 GrGLSLVertexBuilder* v = args.fVertBuilder;
/external/skia/gm/
Dfwidth_squircle.cpp115 auto* v = args.fVertBuilder; in makeProgramImpl()
Dattributes.cpp111 args.fVertBuilder->codeAppend("float2 pos = pos0 + pos1;"); in makeProgramImpl()

12