Remove unused TileGridInfo
Chromium no longer uses TileGridInfo as of CL 856853003 and remove this from skia. BUG=chromium:447662 Review URL: https://codereview.chromium.org/828503004
This commit is contained in:
parent
6a93900f06
commit
07f26976f7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user