Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Unified Diff: src/core/SkEdgeBuilder.h

Issue 1654433002: combine vertical overlapping edges (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkEdgeBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkEdgeBuilder.h
diff --git a/src/core/SkEdgeBuilder.h b/src/core/SkEdgeBuilder.h
index 625465b8a6b28357ede6e6524d7a52ca14c5291e..047460d4fef06e301a9c7a91d827ac148398eb2b 100644
--- a/src/core/SkEdgeBuilder.h
+++ b/src/core/SkEdgeBuilder.h
@@ -27,6 +27,15 @@ public:
SkEdge** edgeList() { return fEdgeList; }
private:
+ enum Combine {
+ kNo_Combine,
+ kPartial_Combine,
+ kTotal_Combine
+ };
+
+ static Combine CombineVertical(const SkEdge* edge, SkEdge* last);
+ Combine checkVertical(const SkEdge* edge, SkEdge** edgePtr);
+
SkChunkAlloc fAlloc;
SkTDArray<SkEdge*> fList;
« no previous file with comments | « no previous file | src/core/SkEdgeBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698