Index: cc/base/tiling_data.h |
diff --git a/cc/base/tiling_data.h b/cc/base/tiling_data.h |
index 590049ebcbf73e89a1a395518307d8a137141e84..df71afa5c3aacc5fd5021a6411daccd4a87b7668 100644 |
--- a/cc/base/tiling_data.h |
+++ b/cc/base/tiling_data.h |
@@ -47,6 +47,10 @@ class CC_EXPORT TilingData { |
// Return the tile index whose non-border texels include src_position. |
int TileXIndexFromSrcCoord(int src_position) const; |
int TileYIndexFromSrcCoord(int src_position) const; |
+ // Return the absolute tile index, assuming tiling size to be infinite in all |
+ // quadrants. |
+ int TileAbsoluteXIndexFromSrcCoord(int src_position) const; |
+ int TileAbsoluteYIndexFromSrcCoord(int src_position) const; |
// Return the lowest tile index whose border texels include src_position. |
int FirstBorderTileXIndexFromSrcCoord(int src_position) const; |
int FirstBorderTileYIndexFromSrcCoord(int src_position) const; |