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

Unified Diff: cc/resources/picture_layer_tiling.h

Issue 626113004: CC: Have GPU-raster tiles exactly match the viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@CC_cleanup_tile_grid_size
Patch Set: Rebase. Created 6 years, 2 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
Index: cc/resources/picture_layer_tiling.h
diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h
index 104ca107753e3ef12fb34f6fca6361d18231309d..d45b642adb80d4be29831cbd16ae88eeb56a3ccb 100644
--- a/cc/resources/picture_layer_tiling.h
+++ b/cc/resources/picture_layer_tiling.h
@@ -57,6 +57,8 @@ class CC_EXPORT PictureLayerTilingClient {
class CC_EXPORT PictureLayerTiling {
public:
+ static const int kBorderTexels = 1;
+
enum EvictionCategory {
EVENTUALLY,
EVENTUALLY_AND_REQUIRED_FOR_ACTIVATION,

Powered by Google App Engine
This is Rietveld 408576698