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

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: Fix nits 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 | « tools/perf/benchmarks/smoothness.py ('k') | webkit/renderer/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « tools/perf/benchmarks/smoothness.py ('k') | webkit/renderer/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698