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

Unified Diff: cc/layers/layer.h

Issue 181063022: cc: Trigger GPU rasterization based on a per-layer hint (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move flags to RenderThreadImpl 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
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index 97d3753f6d22decd2f27c006147ea7b098193da7..52e7446c39506e7bbe8729b261b2731b4e52f9a8 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -390,6 +390,8 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
// Set the priority of all desired textures in this layer.
virtual void SetTexturePriorities(const PriorityCalculator& priority_calc) {}
+ virtual void SetHasGpuRasterizationHint(bool has_hint) {}
+
bool AddAnimation(scoped_ptr<Animation> animation);
void PauseAnimation(int animation_id, double time_offset);
void RemoveAnimation(int animation_id);

Powered by Google App Engine
This is Rietveld 408576698