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

Unified Diff: tools/PictureRenderer.h

Issue 186973005: New version of the bbh shootout (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Remove dead constants Created 6 years, 9 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 | tools/bbh_shootout.cpp » ('j') | tools/bbh_shootout.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/PictureRenderer.h
diff --git a/tools/PictureRenderer.h b/tools/PictureRenderer.h
index 67392774ba192b421b9b5432474961e5d3598221..d2e9f3bfa3729a915d21c4478fb6aa25817b840b 100644
--- a/tools/PictureRenderer.h
+++ b/tools/PictureRenderer.h
@@ -83,7 +83,10 @@ public:
kQuadTree_BBoxHierarchyType,
kRTree_BBoxHierarchyType,
kTileGrid_BBoxHierarchyType,
+
+ kLast_BBoxHierarchyType = kTileGrid_BBoxHierarchyType,
};
+ static const int kBBoxHierarchyTypeCount = kLast_BBoxHierarchyType + 1;
reed1 2014/03/07 13:39:49 stylistically, I'm not a fan of these in public he
mtklein 2014/03/07 13:41:15 If you can get away with it, I'd recommend using o
iancottrell 2014/03/07 14:52:47 Removed the count. kLast seemed to be the standard
// this uses SkPaint::Flags as a base and adds additional flags
enum DrawFilterFlags {
« no previous file with comments | « no previous file | tools/bbh_shootout.cpp » ('j') | tools/bbh_shootout.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698