diff options
author | 2018-03-26 19:15:22 -0600 | |
---|---|---|
committer | 2018-03-27 15:38:34 +0000 | |
commit | 8dfc70f7e2549929f86c06138e5ac6ade6154502 (patch) | |
tree | c74420055cd7657f7110a4691533e9d00da5e88e /src/gpu/ccpr/GrCCPathParser.h | |
parent | 9b685238f689a70b8b529c610bad79d508b7c700 (diff) |
ccpr: Various cleanups
Renames GrCCCoverageProcessor::RenderPass to PrimitiveType and handles
corners as subpasses instead. Various touchups to coverage processors
now that the overhaul is complete. This change should be strictly a
refactor.
Bug: skia:
Change-Id: I52852463330d5ec71fae7e19fadccd9ede8b2c16
Reviewed-on: https://skia-review.googlesource.com/116169
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'src/gpu/ccpr/GrCCPathParser.h')
-rw-r--r-- | src/gpu/ccpr/GrCCPathParser.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/ccpr/GrCCPathParser.h b/src/gpu/ccpr/GrCCPathParser.h index b1a1ee5906..b28ab3b489 100644 --- a/src/gpu/ccpr/GrCCPathParser.h +++ b/src/gpu/ccpr/GrCCPathParser.h @@ -127,8 +127,8 @@ private: void parsePath(const SkPath&, const SkPoint* deviceSpacePts); void endContourIfNeeded(bool insideContour); - void drawRenderPass(GrOpFlushState*, const GrPipeline&, CoverageCountBatchID, - GrCCCoverageProcessor::RenderPass, GrCCCoverageProcessor::WindMethod, + void drawPrimitives(GrOpFlushState*, const GrPipeline&, CoverageCountBatchID, + GrCCCoverageProcessor::PrimitiveType, GrCCCoverageProcessor::WindMethod, int PrimitiveTallies::*instanceType, const SkIRect& drawBounds) const; // Staging area for the path being parsed. |