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

Unified Diff: include/core/SkBBHFactory.h

Issue 828503004: Skia: Remove unused TileGridInfo (Closed) Base URL: https://chromium.googlesource.com/skia@master
Patch Set: Created 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkBBHFactory.h
diff --git a/include/core/SkBBHFactory.h b/include/core/SkBBHFactory.h
index 490a6b5c078151801d619c541506258f04606594..57baf6beb9ad08a845bc648fd351fb67632b5088 100644
--- a/include/core/SkBBHFactory.h
+++ b/include/core/SkBBHFactory.h
@@ -8,7 +8,6 @@
#ifndef SkBBHFactory_DEFINED
#define SkBBHFactory_DEFINED
-#include "SkSize.h"
#include "SkRect.h"
class SkBBoxHierarchy;
@@ -29,25 +28,4 @@ private:
typedef SkBBHFactory INHERITED;
};
-// TODO(mtklein): delete entirely when Chromium's clean for TileGridInfo
-class SK_API SkTileGridFactory {
-public:
- struct TileGridInfo {
- /** Tile placement interval */
- SkISize fTileInterval;
-
- /** Pixel coverage overlap between adjacent tiles */
- SkISize fMargin;
-
- /** Offset added to device-space bounding box positions to convert
- * them to tile-grid space. This can be used to adjust the "phase"
- * of the tile grid to match probable query rectangles that will be
- * used to search into the tile grid. As long as the offset is smaller
- * or equal to the margin, there is no need to extend the domain of
- * the tile grid to prevent data loss.
- */
- SkIPoint fOffset;
- };
-};
-
#endif
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698