Home
last modified time | relevance | path

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

/external/skqp/src/gpu/ccpr/
DGrCCConicShader.cpp52 const char* cornerCoverage) { in onEmitVaryings() argument
60 fGrad_fCorner.reset(cornerCoverage ? kFloat4_GrSLType : kFloat2_GrSLType, scope); in onEmitVaryings()
61 varyingHandler->addVarying(cornerCoverage ? "grad_and_corner" : "grad", &fGrad_fCorner); in onEmitVaryings()
65 if (cornerCoverage) { in onEmitVaryings()
69 OutName(fGrad_fCorner), cornerCoverage); in onEmitVaryings()
DGrCCQuadraticShader.cpp43 const char* cornerCoverage) { in onEmitVaryings() argument
52 fEdge_fWind_fCorner.reset(cornerCoverage ? kFloat4_GrSLType : kFloat2_GrSLType, scope); in onEmitVaryings()
59 if (cornerCoverage) { in onEmitVaryings()
63 OutName(fEdge_fWind_fCorner), cornerCoverage); in onEmitVaryings()
DGrCCCubicShader.cpp94 const char* cornerCoverage) { in onEmitVaryings() argument
112 if (cornerCoverage) { in onEmitVaryings()
119 OutName(fCornerCoverage), cornerCoverage); in onEmitVaryings()
DGrCCCoverageProcessor_GSImpl.cpp76 const char* cornerCoverage = nullptr; in emitGeometryShader() local
78 cornerCoverage = emitArgs.emplace_back("corner_coverage", kHalf2_GrSLType).c_str(); in emitGeometryShader()
85 if (cornerCoverage) { in emitGeometryShader()
86 fnBody.appendf("%s.x *= %s;", cornerCoverage, wind.c_str()); in emitGeometryShader()
90 "vertexpos", coverage ? coverage : wind.c_str(), cornerCoverage); in emitGeometryShader()
DGrCCCoverageProcessor.cpp23 const char* cornerCoverage) override { in onEmitVaryings() argument
24 if (!cornerCoverage) { in onEmitVaryings()
31 code->appendf("%s = half3(%s, %s);", OutName(fCoverages), coverage, cornerCoverage); in onEmitVaryings()
DGrCCCoverageProcessor.h132 const char* cornerCoverage) { in emitVaryings() argument
134 this->onEmitVaryings(varyingHandler, scope, code, position, coverage, cornerCoverage); in emitVaryings()
186 const char* cornerCoverage) = 0;
DGrCCConicShader.h30 const char* cornerCoverage) override;
DGrCCCubicShader.h31 const char* cornerCoverage) override;
DGrCCQuadraticShader.h30 const char* cornerCoverage) override;