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

Unified Diff: cc/output/compositor_frame_metadata.h

Issue 2676373004: Implement service-side surface synchronization (Closed)
Patch Set: Better unit test name 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
Index: cc/output/compositor_frame_metadata.h
diff --git a/cc/output/compositor_frame_metadata.h b/cc/output/compositor_frame_metadata.h
index 206a4a050d0d8ddbae3278b721918aeebdd8fe40..e383e5069dcd82c0f9c4a044fd4f38d6eabc4969 100644
--- a/cc/output/compositor_frame_metadata.h
+++ b/cc/output/compositor_frame_metadata.h
@@ -78,6 +78,10 @@ class CC_EXPORT CompositorFrameMetadata {
// This is the set of Surfaces that are referenced by this frame.
std::vector<SurfaceId> referenced_surfaces;
+ // This indicates whether this CompositorFrame can be activated before
+ // dependencies have been resolved.
+ bool can_activate_before_dependencies = true;
+
private:
CompositorFrameMetadata(const CompositorFrameMetadata& other);
CompositorFrameMetadata operator=(const CompositorFrameMetadata&) = delete;

Powered by Google App Engine
This is Rietveld 408576698