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

Unified Diff: webkit/renderer/compositor_bindings/web_layer_impl.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: webkit/renderer/compositor_bindings/web_layer_impl.h
diff --git a/webkit/renderer/compositor_bindings/web_layer_impl.h b/webkit/renderer/compositor_bindings/web_layer_impl.h
index 93c61251c3bf5411b4379e301201095ce74dc972..276b190795149f1dfa0f80f11e9b263df5da80dc 100644
--- a/webkit/renderer/compositor_bindings/web_layer_impl.h
+++ b/webkit/renderer/compositor_bindings/web_layer_impl.h
@@ -52,6 +52,8 @@ class WebLayerImpl : public blink::WebLayer, public cc::LayerClient {
virtual ~WebLayerImpl();
static bool UsingPictureLayer();
+ WEBKIT_COMPOSITOR_BINDINGS_EXPORT static void SetImplSidePaintingEnabled(
+ bool enabled);
WEBKIT_COMPOSITOR_BINDINGS_EXPORT cc::Layer* layer() const;
@@ -96,6 +98,7 @@ class WebLayerImpl : public blink::WebLayer, public cc::LayerClient {
virtual blink::WebColor backgroundColor() const;
virtual void setFilters(const blink::WebFilterOperations& filters);
virtual void setBackgroundFilters(const blink::WebFilterOperations& filters);
+ virtual void setHasGpuRasterizationHint(bool has_hint);
virtual void setAnimationDelegate(blink::WebAnimationDelegate* delegate);
virtual bool addAnimation(blink::WebAnimation* animation);
virtual void removeAnimation(int animation_id);

Powered by Google App Engine
This is Rietveld 408576698