/external/skqp/src/gpu/ccpr/ |
D | GrCCConicShader.cpp | 74 const char* outputCoverage) const { in onEmitFragmentCode() 76 outputCoverage); in onEmitFragmentCode() 77 f->codeAppendf("%s *= %s.w;", outputCoverage, fKLM_fWind.fsIn()); // Wind. in onEmitFragmentCode() 81 outputCoverage, fGrad_fCorner.fsIn(), fGrad_fCorner.fsIn(), in onEmitFragmentCode() 82 outputCoverage); in onEmitFragmentCode() 87 const char* outputCoverage) const { in calcHullCoverage() 91 code->appendf("%s = min(0.5 - f/fwidth, 1);", outputCoverage); // Curve coverage. in calcHullCoverage() 93 code->appendf("%s = max(%s + d, 0);", outputCoverage, outputCoverage); // Total hull coverage. in calcHullCoverage()
|
D | GrCCQuadraticShader.cpp | 68 const char* outputCoverage) const { in onEmitFragmentCode() 71 outputCoverage); in onEmitFragmentCode() 72 f->codeAppendf("%s *= %s.y;", outputCoverage, fEdge_fWind_fCorner.fsIn()); // Wind. in onEmitFragmentCode() 76 outputCoverage, fEdge_fWind_fCorner.fsIn(), fEdge_fWind_fCorner.fsIn(), in onEmitFragmentCode() 77 outputCoverage); in onEmitFragmentCode() 82 const char* edge, const char* outputCoverage) const { in calcHullCoverage() 87 code->appendf("%s = min(0.5 - f/fwidth, 1);", outputCoverage); // Curve coverage. in calcHullCoverage() 89 code->appendf("%s = max(%s + d, 0);", outputCoverage, outputCoverage); // Total hull coverage. in calcHullCoverage()
|
D | GrCCCubicShader.cpp | 124 const char* outputCoverage) const { in onEmitFragmentCode() 126 outputCoverage); in onEmitFragmentCode() 132 f->codeAppendf("%s *= wind;", outputCoverage); in onEmitFragmentCode() 136 outputCoverage, fCornerCoverage.fsIn(), fCornerCoverage.fsIn(), in onEmitFragmentCode() 137 outputCoverage); in onEmitFragmentCode() 142 const char* gradMatrix, const char* outputCoverage) const { in calcHullCoverage() 147 code->appendf("%s = min(0.5 - f/fwidth, 1);", outputCoverage); // Curve coverage. in calcHullCoverage() 149 code->appendf("%s = max(%s + d, 0);", outputCoverage, outputCoverage); // Total hull coverage. in calcHullCoverage()
|
D | GrCCCoverageProcessor.cpp | 35 void onEmitFragmentCode(GrGLSLFPFragmentBuilder* f, const char* outputCoverage) const override { in onEmitFragmentCode() 37 f->codeAppendf("%s = %s;", outputCoverage, fCoverages.fsIn()); in onEmitFragmentCode() 40 outputCoverage, fCoverages.fsIn(), fCoverages.fsIn(), fCoverages.fsIn()); in onEmitFragmentCode() 94 const char* outputCoverage) { in CalcEdgeCoverageAtBloatVertex() argument 122 s->codeAppendf("%s = (abs(t) != nwidth ? t / nwidth : sign(t)) * -.5 - .5;", outputCoverage); in CalcEdgeCoverageAtBloatVertex()
|
D | GrCCConicShader.h | 32 void onEmitFragmentCode(GrGLSLFPFragmentBuilder*, const char* outputCoverage) const override; 36 const char* outputCoverage) const;
|
D | GrCCCubicShader.h | 33 void onEmitFragmentCode(GrGLSLFPFragmentBuilder*, const char* outputCoverage) const override; 37 const char* outputCoverage) const;
|
D | GrCCQuadraticShader.h | 32 void onEmitFragmentCode(GrGLSLFPFragmentBuilder*, const char* outputCoverage) const override; 36 const char* outputCoverage) const;
|
D | GrCCCoverageProcessor.h | 160 const char* outputCoverage); 190 const char* outputCoverage) const = 0;
|
/external/skia/src/gpu/ |
D | GrProcessorSet.cpp | 145 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() 183 outputCoverage, caps, clampType); in finalize()
|
/external/skqp/src/gpu/ |
D | GrProcessorSet.cpp | 202 GrProcessorAnalysisCoverage outputCoverage; in finalize() local 204 outputCoverage = GrProcessorAnalysisCoverage::kLCD; in finalize() 206 outputCoverage = GrProcessorAnalysisCoverage::kSingleChannel; in finalize() 208 outputCoverage = GrProcessorAnalysisCoverage::kNone; in finalize() 212 this->xpFactory(), colorAnalysis.outputColor(), outputCoverage, caps); in finalize() 240 outputCoverage, isMixedSamples, caps); in finalize()
|
/external/skqp/src/gpu/glsl/ |
D | GrGLSLPrimitiveProcessor.h | 75 const char* outputCoverage, in EmitArgs() 87 , fOutputCoverage(outputCoverage) in EmitArgs()
|
D | GrGLSLProgramBuilder.cpp | 72 SkString* outputCoverage) { in emitAndInstallPrimProc() argument 79 this->nameExpression(outputCoverage, "outputCoverage"); in emitAndInstallPrimProc() 127 outputCoverage->c_str(), in emitAndInstallPrimProc()
|
D | GrGLSLProgramBuilder.h | 144 void emitAndInstallPrimProc(SkString* outputColor, SkString* outputCoverage);
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLGeometryProcessor.h | 77 const char* outputCoverage, in EmitArgs() 88 , fOutputCoverage(outputCoverage) in EmitArgs()
|
D | GrGLSLProgramBuilder.cpp | 76 bool GrGLSLProgramBuilder::emitAndInstallPrimProc(SkString* outputColor, SkString* outputCoverage) { in emitAndInstallPrimProc() argument 82 this->nameExpression(outputCoverage, "outputCoverage"); in emitAndInstallPrimProc() 126 outputCoverage->c_str(), in emitAndInstallPrimProc()
|
D | GrGLSLProgramBuilder.h | 148 bool emitAndInstallPrimProc(SkString* outputColor, SkString* outputCoverage);
|