diff options
author | 2017-10-14 21:48:10 -0600 | |
---|---|---|
committer | 2017-10-15 04:13:06 +0000 | |
commit | e501033bbdc9143848edde3c3e3b7282169bc11e (patch) | |
tree | e518ba3cc2c5b7f7eb5aaf579f23060966ae1e37 /src/gpu/ccpr/GrCCPRCoverageOp.h | |
parent | ac094702f425e07c0d479ef5caf793527d48bebe (diff) |
Refactor CCPR coverage shaders for a vertex impl
Decouples geometry generation and analytic coverage. This paves the
way for a vertex shader implementation.
Bug: skia:
Change-Id: I23b79d4397db22bd8fc063b8dfca58ab00037292
Reviewed-on: https://skia-review.googlesource.com/59200
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'src/gpu/ccpr/GrCCPRCoverageOp.h')
-rw-r--r-- | src/gpu/ccpr/GrCCPRCoverageOp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/ccpr/GrCCPRCoverageOp.h b/src/gpu/ccpr/GrCCPRCoverageOp.h index 7d457fef33..80b4cf9744 100644 --- a/src/gpu/ccpr/GrCCPRCoverageOp.h +++ b/src/gpu/ccpr/GrCCPRCoverageOp.h @@ -149,9 +149,9 @@ private: const PrimitiveTallies baseInstances[kNumScissorModes], const PrimitiveTallies endInstances[kNumScissorModes]); - void drawMaskPrimitives(GrOpFlushState*, const GrPipeline&, const GrCCPRCoverageProcessor::Mode, - GrPrimitiveType, int vertexCount, - int PrimitiveTallies::* instanceType) const; + void drawMaskPrimitives(GrOpFlushState*, const GrPipeline&, + const GrCCPRCoverageProcessor::RenderPass, GrPrimitiveType, + int vertexCount, int PrimitiveTallies::* instanceType) const; sk_sp<GrBuffer> fPointsBuffer; sk_sp<GrBuffer> fInstanceBuffer; |