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

Unified Diff: src/gpu/GrPath.h

Issue 1919843002: Revert of Batch multiple single NVPR draw paths to instanced draws (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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/gpu/GrPathRendering.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrPath.h
diff --git a/src/gpu/GrPath.h b/src/gpu/GrPath.h
index 975dad0afdd2ccb8dcb05824646797b4f3941e2b..4cb12f4325c6b3c5741eaeaa5502a28e1a6ad416 100644
--- a/src/gpu/GrPath.h
+++ b/src/gpu/GrPath.h
@@ -36,18 +36,6 @@
const SkRect& getBounds() const { return fBounds; }
GrPathRendering::FillType getFillType() const { return fFillType; }
-
- /**
- * Returns true if a path can be drawn in the same draw paths operation as the other
- * path. Should return true only when the condition holds transitively with all other paths in
- * the same group.
- * E.g.
- * canCombineDrawPathBatchWith(a) AND canCombineDrawPathBatchWith(b)
- * canCombineDrawPathBatchWith(a) AND canCombineDrawPathBatchWith(c)
- * implies
- * canCombineDrawPathBatchWith(b) AND canCombineDrawPathBatchWith(c)
- */
- virtual bool canCombineDrawPathBatchWith(const GrPath& other) const = 0;
#ifdef SK_DEBUG
bool isEqualTo(const SkPath& path, const GrStrokeInfo& stroke) const;
#endif
« no previous file with comments | « no previous file | src/gpu/GrPathRendering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698