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

Unified Diff: cc/surfaces/surface_dependency_tracker.h

Issue 2814633006: Surface synchronization: Immediately activate late arriving CompositorFrames (Closed)
Patch Set: Created 3 years, 8 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 | « cc/surfaces/compositor_frame_sink_support_unittest.cc ('k') | cc/surfaces/surface_dependency_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_dependency_tracker.h
diff --git a/cc/surfaces/surface_dependency_tracker.h b/cc/surfaces/surface_dependency_tracker.h
index 7643574de3edc36cc230d16747e4105c596e32f2..bdb8717fd060c5a654bc14d80e0a6e2a8928c57f 100644
--- a/cc/surfaces/surface_dependency_tracker.h
+++ b/cc/surfaces/surface_dependency_tracker.h
@@ -87,6 +87,10 @@ class CC_SURFACES_EXPORT SurfaceDependencyTracker : public BeginFrameObserver,
// blockers.
base::flat_set<SurfaceId> observed_surfaces_by_id_;
+ // The set of SurfaceIds to which corresponding CompositorFrames have not
+ // arrived by the time their deadline fired.
+ base::flat_set<SurfaceId> late_surfaces_by_id_;
+
DISALLOW_COPY_AND_ASSIGN(SurfaceDependencyTracker);
};
« no previous file with comments | « cc/surfaces/compositor_frame_sink_support_unittest.cc ('k') | cc/surfaces/surface_dependency_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698