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

Unified Diff: cc/layer_impl.h

Issue 11447028: cc: Split out calcDrawEtc from drawLayers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years 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/layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_impl.h
diff --git a/cc/layer_impl.h b/cc/layer_impl.h
index addcced489fdf0cebd6718dc5acc9243e1ae2898..cb90958e117cb373f27bf4e197008d5aee48fbf1 100644
--- a/cc/layer_impl.h
+++ b/cc/layer_impl.h
@@ -163,6 +163,9 @@ public:
bool showDebugBorders() const;
+ // These invalidate the host's render surface layer list. The caller
+ // is responsible for calling setNeedsUpdateDrawProperties on the host
+ // so that its list can be recreated.
void createRenderSurface();
void clearRenderSurface() { m_drawProperties.render_surface.reset(); }
@@ -298,6 +301,8 @@ private:
friend class TreeSynchronizer;
void clearChildList(); // Warning: This does not preserve tree structure invariants and so is only exposed to the tree synchronizer.
+ void noteLayerSurfacePropertyChanged();
+ void noteLayerPropertyChanged();
void noteLayerPropertyChangedForSubtree();
// Note carefully this does not affect the current layer.
« no previous file with comments | « no previous file | cc/layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698