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

Unified Diff: cc/base/tiling_data.h

Issue 2295343005: Improve PictureLayerTiling::CoverageIterator to handle rounding more precisely (Closed)
Patch Set: remove the 1.5 Created 4 years, 3 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 | cc/base/tiling_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/tiling_data.h
diff --git a/cc/base/tiling_data.h b/cc/base/tiling_data.h
index 3c3937db81541378eb71cdae42ca419e07af0bf0..247b603d0c7c55a05277f826207d244a521b48db 100644
--- a/cc/base/tiling_data.h
+++ b/cc/base/tiling_data.h
@@ -13,6 +13,7 @@
#include "ui/gfx/geometry/size.h"
namespace gfx {
+class RectF;
class Vector2d;
}
@@ -61,6 +62,8 @@ class CC_EXPORT TilingData {
int TileSizeX(int x_index) const;
int TileSizeY(int y_index) const;
+ gfx::RectF TexelExtent(int i, int j) const;
+
// Difference between TileBound's and TileBoundWithBorder's origin().
gfx::Vector2d TextureOffset(int x_index, int y_index) const;
« no previous file with comments | « no previous file | cc/base/tiling_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698