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

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: Use a single switch with string values Created 6 years, 10 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 37772e9bd8a87d490f13cc75fbd7e949496773f1..48b51715956170d587e568cbc108cdcd1ac764f4 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -389,6 +389,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