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

Unified Diff: public/platform/WebLayer.h

Issue 183103007: Implement will-change-based GPU rasterization hint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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: public/platform/WebLayer.h
diff --git a/public/platform/WebLayer.h b/public/platform/WebLayer.h
index 046b98021de00fbbac2fa6a35a664b09418c725b..69a03ac7ecbbb1c3447da504ef1b84e968c85999 100644
--- a/public/platform/WebLayer.h
+++ b/public/platform/WebLayer.h
@@ -136,6 +136,8 @@ public:
// (opacity, transforms), it may conflict and hide the background filters.
virtual void setBackgroundFilters(const WebFilterOperations&) = 0;
+ virtual void setHasGpuRasterizationHint(bool) = 0;
+
// An animation delegate is notified when animations are started and
// stopped. The WebLayer does not take ownership of the delegate, and it is
// the responsibility of the client to reset the layer's delegate before

Powered by Google App Engine
This is Rietveld 408576698