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

Unified Diff: cc/layers/picture_layer.h

Issue 192973002: Add a GPU rasterization hint to cc::PictureLayer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 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
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/layers/picture_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer.h
diff --git a/cc/layers/picture_layer.h b/cc/layers/picture_layer.h
index 853f449c0ad988a4364c2cb322f439c04bc0e0e2..78bb8f44644fa59aa0902207e8a9067792c3b14f 100644
--- a/cc/layers/picture_layer.h
+++ b/cc/layers/picture_layer.h
@@ -40,6 +40,8 @@ class CC_EXPORT PictureLayer : public Layer {
ContentLayerClient* client() { return client_; }
+ void SetHasGpuRasterizationHint(bool has_hint);
+
protected:
explicit PictureLayer(ContentLayerClient* client);
virtual ~PictureLayer();
@@ -55,6 +57,7 @@ class CC_EXPORT PictureLayer : public Layer {
Region pile_invalidation_;
gfx::Rect last_updated_visible_content_rect_;
bool is_mask_;
+ bool has_gpu_rasterization_hint_;
int update_source_frame_number_;
« no previous file with comments | « cc/cc_tests.gyp ('k') | cc/layers/picture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698