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

Unified Diff: cc/layers/layer_impl.h

Issue 2690753002: cc: Move render surface ownership from layers to the effect tree (Closed)
Patch Set: Only update surfaces when can_render_to_separate_surface changes Created 3 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
« no previous file with comments | « no previous file | cc/layers/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl.h
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h
index 5fff96cb82cd740d73cfb6dfc542a6d9703d8ce7..5729664bead061bc3b1d4710eba11d23df84a7db 100644
--- a/cc/layers/layer_impl.h
+++ b/cc/layers/layer_impl.h
@@ -233,13 +233,7 @@ class CC_EXPORT LayerImpl {
bool ShowDebugBorders() const;
- // These invalidate the host's render surface layer list. The caller
- // is responsible for calling set_needs_update_draw_properties on the tree
- // so that its list can be recreated.
- void ClearRenderSurfaceLayerList();
- void SetHasRenderSurface(bool has_render_surface);
-
- RenderSurfaceImpl* render_surface() const { return render_surface_.get(); }
+ RenderSurfaceImpl* render_surface() const;
// The render surface which this layer draws into. This can be either owned by
// the same layer or an ancestor of this layer.
« no previous file with comments | « no previous file | cc/layers/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698