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

Unified Diff: include/core/SkRTreePicture.h

Issue 238273012: Staged removal of SkPicture-derived classes (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: have SkPicture only friend SkPictureRecorder once Created 6 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 | « include/core/SkPicture.h ('k') | include/core/SkTileGridPicture.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkRTreePicture.h
===================================================================
--- include/core/SkRTreePicture.h (revision 14237)
+++ include/core/SkRTreePicture.h (working copy)
@@ -10,6 +10,14 @@
#include "SkPicture.h"
+class SkRTreeFactory : public SkBBHFactory {
+public:
+ virtual SkBBoxHierarchy* operator()(int width, int height) const SK_OVERRIDE;
+private:
+ typedef SkBBHFactory INHERITED;
+};
+
+#ifdef SK_SUPPORT_LEGACY_DERIVED_PICTURE_CLASSES
/**
* Subclass of SkPicture that creates an RTree acceleration structure.
*/
@@ -32,5 +40,6 @@
private:
typedef SkPictureFactory INHERITED;
};
+#endif
#endif
« no previous file with comments | « include/core/SkPicture.h ('k') | include/core/SkTileGridPicture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698