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

Unified Diff: cc/layers/picture_layer_impl.h

Issue 1024633002: cc: Keep tilings texture size in sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix broken test Created 5 years, 9 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/layers/picture_layer_impl.h
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
index 397cb623bbd0e82428799117c980d41dcdea18b0..9af1ff81e1fa543217d5dcffafbb8057ae28c0eb 100644
--- a/cc/layers/picture_layer_impl.h
+++ b/cc/layers/picture_layer_impl.h
@@ -78,7 +78,8 @@ class CC_EXPORT PictureLayerImpl
void UpdateRasterSource(scoped_refptr<RasterSource> raster_source,
Region* new_invalidation,
- const PictureLayerTilingSet* pending_set);
+ const PictureLayerTilingSet* pending_set,
+ gfx::Size gpu_raster_max_texture_size);
bool UpdateTiles(bool resourceless_software_draw);
void UpdateCanUseLCDTextAfterCommit();
bool RasterSourceUsesLCDText() const;
@@ -171,6 +172,8 @@ class CC_EXPORT PictureLayerImpl
gfx::Rect visible_rect_for_tile_priority_;
gfx::Rect viewport_rect_for_tile_priority_in_content_space_;
+ gfx::Size gpu_raster_max_texture_size_;
+
// List of tilings that were used last time we appended quads. This can be
// used as an optimization not to remove tilings if they are still being
// drawn. Note that accessing this vector should only be done in the context

Powered by Google App Engine
This is Rietveld 408576698