Home
last modified time | relevance | path

Searched refs:outputCoverage (Results 1 – 16 of 16) sorted by relevance

/third_party/flutter/skia/src/gpu/ccpr/
DGrCCQuadraticShader.cpp64 GrGLSLFPFragmentBuilder* f, const char* outputCoverage) const { in emitFragmentCoverageCode()
67 outputCoverage); in emitFragmentCoverageCode()
68 f->codeAppendf("%s *= half(%s.y);", outputCoverage, fEdge_fWind_fCorner.fsIn()); // Wind. in emitFragmentCoverageCode()
72 outputCoverage, fEdge_fWind_fCorner.fsIn(), fEdge_fWind_fCorner.fsIn(), in emitFragmentCoverageCode()
73 outputCoverage); in emitFragmentCoverageCode()
78 const char* edge, const char* outputCoverage) const { in calcHullCoverage()
87 code->appendf("%s = max(half(curve_coverage + edge_coverage), 0);", outputCoverage); in calcHullCoverage()
DGrCCConicShader.cpp80 GrGLSLFPFragmentBuilder* f, const char* outputCoverage) const { in emitFragmentCoverageCode()
82 outputCoverage); in emitFragmentCoverageCode()
83 f->codeAppendf("%s *= half(%s.w);", outputCoverage, fKLM_fWind.fsIn()); // Wind. in emitFragmentCoverageCode()
87 outputCoverage, fGrad_fCorner.fsIn(), fGrad_fCorner.fsIn(), in emitFragmentCoverageCode()
88 outputCoverage); in emitFragmentCoverageCode()
93 const char* outputCoverage) const { in calcHullCoverage()
101 code->appendf("%s = max(half(curve_coverage + edge_coverage), 0);", outputCoverage); in calcHullCoverage()
DGrCCCubicShader.cpp122 GrGLSLFPFragmentBuilder* f, const char* outputCoverage) const { in emitFragmentCoverageCode()
124 &AccessCodeString(f), fKLM_fEdge.fsIn(), fGradMatrix.fsIn(), outputCoverage); in emitFragmentCoverageCode()
130 f->codeAppendf("%s *= wind;", outputCoverage); in emitFragmentCoverageCode()
134 outputCoverage, fCornerCoverage.fsIn(), fCornerCoverage.fsIn(), in emitFragmentCoverageCode()
135 outputCoverage); in emitFragmentCoverageCode()
140 const char* gradMatrix, const char* outputCoverage) const { in calcHullCoverage()
149 code->appendf("%s = max(half(curve_coverage + edge_coverage), 0);", outputCoverage); in calcHullCoverage()
DGrCCCoverageProcessor.cpp37 GrGLSLFPFragmentBuilder* f, const char* outputCoverage) const override { in emitFragmentCoverageCode()
39 f->codeAppendf("%s = %s;", outputCoverage, fCoverages.fsIn()); in emitFragmentCoverageCode()
42 outputCoverage, fCoverages.fsIn(), fCoverages.fsIn(), fCoverages.fsIn()); in emitFragmentCoverageCode()
86 const char* outputCoverage) { in CalcEdgeCoverageAtBloatVertex() argument
115 outputCoverage); in CalcEdgeCoverageAtBloatVertex()
DGrCCCubicShader.h34 GrGLSLFPFragmentBuilder*, const char* outputCoverage) const override;
40 const char* outputCoverage) const;
DGrCCQuadraticShader.h33 GrGLSLFPFragmentBuilder*, const char* outputCoverage) const override;
39 const char* outputCoverage) const;
DGrCCConicShader.h35 GrGLSLFPFragmentBuilder*, const char* outputCoverage) const override;
41 const char* outputCoverage) const;
DGrCCCoverageProcessor.h156 GrGLSLFPFragmentBuilder*, const char* outputCoverage) const = 0;
174 const char* outputCoverage);
/third_party/skia/src/gpu/
DGrProcessorSet.cpp145 GrProcessorAnalysisCoverage outputCoverage; in finalize() local
147 outputCoverage = GrProcessorAnalysisCoverage::kLCD; in finalize()
149 outputCoverage = GrProcessorAnalysisCoverage::kSingleChannel; in finalize()
151 outputCoverage = GrProcessorAnalysisCoverage::kNone; in finalize()
155 this->xpFactory(), colorAnalysis.outputColor(), outputCoverage, caps, clampType); in finalize()
184 outputCoverage, caps, clampType); in finalize()
DGrGeometryProcessor.h299 const char* outputCoverage, in EmitArgs()
308 , fOutputCoverage(outputCoverage) in EmitArgs()
/third_party/flutter/skia/src/gpu/
DGrProcessorSet.cpp201 GrProcessorAnalysisCoverage outputCoverage; in finalize() local
203 outputCoverage = GrProcessorAnalysisCoverage::kLCD; in finalize()
205 outputCoverage = GrProcessorAnalysisCoverage::kSingleChannel; in finalize()
207 outputCoverage = GrProcessorAnalysisCoverage::kNone; in finalize()
211 this->xpFactory(), colorAnalysis.outputColor(), outputCoverage, caps, clampType); in finalize()
239 outputCoverage, hasMixedSampledCoverage, caps, in finalize()
/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLPrimitiveProcessor.h75 const char* outputCoverage, in EmitArgs()
87 , fOutputCoverage(outputCoverage) in EmitArgs()
DGrGLSLProgramBuilder.cpp70 SkString* outputCoverage) { in emitAndInstallPrimProc() argument
77 this->nameExpression(outputCoverage, "outputCoverage"); in emitAndInstallPrimProc()
125 outputCoverage->c_str(), in emitAndInstallPrimProc()
DGrGLSLProgramBuilder.h152 void emitAndInstallPrimProc(SkString* outputColor, SkString* outputCoverage);
/third_party/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.cpp72 bool GrGLSLProgramBuilder::emitAndInstallPrimProc(SkString* outputColor, SkString* outputCoverage) { in emitAndInstallPrimProc() argument
78 this->nameExpression(outputCoverage, "outputCoverage"); in emitAndInstallPrimProc()
117 outputCoverage->c_str(), in emitAndInstallPrimProc()
DGrGLSLProgramBuilder.h139 bool emitAndInstallPrimProc(SkString* outputColor, SkString* outputCoverage);