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

Unified Diff: cc/layers/render_surface_impl.h

Issue 2460413003: cc: Remove more references to owning_layer_ from RenderSurfaceImpl (Closed)
Patch Set: Address review comment Created 4 years, 1 month 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/render_surface_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/render_surface_impl.h
diff --git a/cc/layers/render_surface_impl.h b/cc/layers/render_surface_impl.h
index b8c494b42f695bc118b0d02345fc9fd570f612f1..90f6672219eadfb6379bff0ec2375dc62f419a50 100644
--- a/cc/layers/render_surface_impl.h
+++ b/cc/layers/render_surface_impl.h
@@ -31,6 +31,7 @@ class RenderPassId;
class RenderPassSink;
class LayerImpl;
class LayerIterator;
+class LayerTreeImpl;
struct AppendQuadsData;
@@ -124,7 +125,7 @@ class CC_EXPORT RenderSurfaceImpl {
LayerImplList& layer_list() { return layer_list_; }
void ClearLayerLists();
- int OwningLayerId() const;
+ int id() const { return stable_effect_id_; }
LayerImpl* MaskLayer();
bool HasMask() const;
@@ -168,6 +169,9 @@ class CC_EXPORT RenderSurfaceImpl {
LayerImpl* owning_layer_;
+ LayerTreeImpl* layer_tree_impl_;
+ int stable_effect_id_;
+
// Container for properties that render surfaces need to compute before they
// can be drawn.
struct DrawProperties {
« no previous file with comments | « no previous file | cc/layers/render_surface_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698