Home
last modified time | relevance | path

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

/external/skia/src/gpu/ccpr/
DGrCCPRQuadraticProcessor.cpp83 const char* outputCoverage) const { in emitShaderCoverage()
87 f->codeAppendf("%s = clamp(0.5 - d, 0, 1);", outputCoverage); in emitShaderCoverage()
156 const char* outputCoverage) const { in emitShaderCoverage()
158 this->INHERITED::emitShaderCoverage(f, outputCoverage); in emitShaderCoverage()
160 outputCoverage, fEdgeDistance.fsIn(), outputCoverage); in emitShaderCoverage()
177 outputCoverage, 1.0 / sampleCount); in emitShaderCoverage()
DGrCCPRCubicProcessor.cpp238 const char* outputCoverage) const { in emitShaderCoverage()
244 f->codeAppendf("%s = clamp(0.5 - d, 0, 1);", outputCoverage); in emitShaderCoverage()
298 const char* outputCoverage) const { in emitShaderCoverage()
307 outputCoverage, fKLMD.fsIn(), sampleCount); in emitShaderCoverage()
319 f->codeAppendf( "%s += use_edge ? in_edge * (in_curve - 1) : in_curve;", outputCoverage); in emitShaderCoverage()
322 f->codeAppendf("%s *= %f;", outputCoverage, 1.0 / sampleCount); in emitShaderCoverage()
DGrCCPRTriangleProcessor.cpp132 const char* outputCoverage) const { in emitShaderCoverage()
183 outputCoverage, fEdgeDistances.fsIn()); in emitShaderCoverage()
194 outputCoverage, fEdgeDistances.fsIn()); in emitShaderCoverage()
200 f->codeAppendf("%s += dot(widths, vec4(0.25));", outputCoverage); in emitShaderCoverage()
DGrCCPRQuadraticProcessor.h49 void emitShaderCoverage(GrGLSLFragmentBuilder* f, const char* outputCoverage) const override;
100 void emitShaderCoverage(GrGLSLFragmentBuilder*, const char* outputCoverage) const override;
DGrCCPRCubicProcessor.h97 void emitShaderCoverage(GrGLSLFragmentBuilder*, const char* outputCoverage) const override;
133 void emitShaderCoverage(GrGLSLFragmentBuilder*, const char* outputCoverage) const override;
DGrCCPRCoverageProcessor.h184 virtual void emitShaderCoverage(GrGLSLFragmentBuilder*, const char* outputCoverage) const { in emitShaderCoverage() argument
243 const char* outputColor, const char* outputCoverage) const;
DGrCCPRCoverageProcessor.cpp301 const char* outputColor, const char* outputCoverage) const { in emitCoverage()
316 f->codeAppendf("%s = vec4(1);", outputCoverage); in emitCoverage()
DGrCCPRTriangleProcessor.h97 void emitShaderCoverage(GrGLSLFragmentBuilder*, const char* outputCoverage) const override;
/external/skia/src/gpu/
DGrProcessorSet.cpp189 GrProcessorAnalysisCoverage outputCoverage; in finalize() local
191 outputCoverage = GrProcessorAnalysisCoverage::kLCD; in finalize()
193 outputCoverage = GrProcessorAnalysisCoverage::kSingleChannel; in finalize()
195 outputCoverage = GrProcessorAnalysisCoverage::kNone; in finalize()
199 this->xpFactory(), colorAnalysis.outputColor(), outputCoverage, caps); in finalize()
235 outputCoverage, isMixedSamples, caps); in finalize()
/external/skia/src/gpu/glsl/
DGrGLSLPrimitiveProcessor.h77 const char* outputCoverage, in EmitArgs()
91 , fOutputCoverage(outputCoverage) in EmitArgs()
DGrGLSLProgramBuilder.cpp73 SkString* outputCoverage) { in emitAndInstallPrimProc() argument
77 this->nameExpression(outputCoverage, "outputCoverage"); in emitAndInstallPrimProc()
115 outputCoverage->c_str(), in emitAndInstallPrimProc()
DGrGLSLProgramBuilder.h152 SkString* outputCoverage);