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

Unified Diff: cc/layers/surface_layer.h

Issue 2905533002: cc : Store surface layer ids on LayerTreeHost and push them at commit (Closed)
Patch Set: initialize Created 3 years, 7 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/surface_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/surface_layer.h
diff --git a/cc/layers/surface_layer.h b/cc/layers/surface_layer.h
index 56f8d61f87947f4c316785d3a84827f454b939d7..43f2f107f307db9bb9044297eb306af60a7303a6 100644
--- a/cc/layers/surface_layer.h
+++ b/cc/layers/surface_layer.h
@@ -52,6 +52,8 @@ class CC_EXPORT SurfaceLayer : public Layer {
private:
~SurfaceLayer() override;
void RemoveReference(base::Closure reference_returner);
+ void AddReferencedSurfaceId(const SurfaceInfo& surface_info);
+ void RemoveReferencedSurfaceId(const SurfaceInfo& surface_info);
SurfaceInfo primary_surface_info_;
base::Closure primary_reference_returner_;
« no previous file with comments | « no previous file | cc/layers/surface_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698