aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkRTreePicture.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkRTreePicture.h')
-rw-r--r--include/core/SkRTreePicture.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/include/core/SkRTreePicture.h b/include/core/SkRTreePicture.h
deleted file mode 100644
index 8e8a2aae47..0000000000
--- a/include/core/SkRTreePicture.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Copyright 2014 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#ifndef SkRTreePicture_DEFINED
-#define SkRTreePicture_DEFINED
-
-#ifdef SK_SUPPORT_LEGACY_PICTURE_HEADERS
-#include "SkBBHFactory.h"
-#endif
-
-#ifdef SK_SUPPORT_LEGACY_DERIVED_PICTURE_CLASSES
-
-#include "SkPicture.h"
-
-/**
- * Subclass of SkPicture that creates an RTree acceleration structure.
- */
-class SkRTreePicture : public SkPicture {
-public:
- virtual SkBBoxHierarchy* createBBoxHierarchy() const SK_OVERRIDE;
-
-private:
- typedef SkPicture INHERITED;
-};
-
-class SkRTreePictureFactory : public SkPictureFactory {
-public:
- SkRTreePictureFactory() {}
-
- virtual SkPicture* create(int width, int height) SK_OVERRIDE {
- return SkNEW(SkRTreePicture);
- }
-
-private:
- typedef SkPictureFactory INHERITED;
-};
-#endif
-
-#endif