Home
last modified time | relevance | path

Searched refs:cornerCoverage (Results 1 – 9 of 9) sorted by relevance

/third_party/flutter/skia/src/gpu/ccpr/
DGrCCQuadraticShader.cpp37 const char* position, const char* coverage, const char* cornerCoverage, const char* wind) { in onEmitVaryings() argument
47 fEdge_fWind_fCorner.reset((cornerCoverage) ? kFloat4_GrSLType : kFloat2_GrSLType, scope); in onEmitVaryings()
48 varyingHandler->addVarying((cornerCoverage) ? "edge_and_wind_and_corner" : "edge_and_wind", in onEmitVaryings()
54 if (cornerCoverage) { in onEmitVaryings()
59 OutName(fEdge_fWind_fCorner), cornerCoverage); in onEmitVaryings()
DGrCCConicShader.cpp52 const char* position, const char* coverage, const char* cornerCoverage, const char* wind) { in onEmitVaryings() argument
65 fGrad_fCorner.reset(cornerCoverage ? kFloat4_GrSLType : kFloat2_GrSLType, scope); in onEmitVaryings()
66 varyingHandler->addVarying((cornerCoverage) ? "grad_and_corner" : "grad", &fGrad_fCorner); in onEmitVaryings()
70 if (cornerCoverage) { in onEmitVaryings()
75 OutName(fGrad_fCorner), cornerCoverage); in onEmitVaryings()
DGrCCCoverageProcessor.cpp23 const char* position, const char* coverage, const char* cornerCoverage, in onEmitVaryings() argument
25 if (!cornerCoverage) { in onEmitVaryings()
32 code->appendf("%s = half3(%s, %s);", OutName(fCoverages), coverage, cornerCoverage); in onEmitVaryings()
DGrCCCubicShader.cpp86 const char* position, const char* coverage, const char* cornerCoverage, const char* wind) { in onEmitVaryings() argument
109 if (cornerCoverage) { in onEmitVaryings()
117 OutName(fCornerCoverage), cornerCoverage); in onEmitVaryings()
DGrGSCoverageProcessor.cpp80 const char* cornerCoverage = nullptr; in emitGeometryShader() local
82 cornerCoverage = emitArgs.emplace_back("corner_coverage", kHalf2_GrSLType).c_str(); in emitGeometryShader()
101 if (cornerCoverage) { in emitGeometryShader()
102 fnBody.appendf("%s.x *= %s;", cornerCoverage, wind.c_str()); in emitGeometryShader()
105 "vertexpos", coverage, cornerCoverage, wind.c_str()); in emitGeometryShader()
DGrCCCoverageProcessor.h147 const char* position, const char* coverage, const char* cornerCoverage, in emitVaryings() argument
151 varyingHandler, scope, code, position, coverage, cornerCoverage, wind); in emitVaryings()
200 const char* coverage, const char* cornerCoverage, const char* wind) = 0;
DGrCCCubicShader.h31 const char* coverage, const char* cornerCoverage, const char* wind) override;
DGrCCQuadraticShader.h30 const char* coverage, const char* cornerCoverage, const char* wind) override;
DGrCCConicShader.h32 const char* coverage, const char* cornerCoverage, const char* wind) override;