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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ 5 #ifndef CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_
6 #define CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ 6 #define CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 // Provides selection region updates relative to the current viewport. If the 72 // Provides selection region updates relative to the current viewport. If the
73 // selection is empty or otherwise unused, the bound types will indicate such. 73 // selection is empty or otherwise unused, the bound types will indicate such.
74 Selection<gfx::SelectionBound> selection; 74 Selection<gfx::SelectionBound> selection;
75 75
76 std::vector<ui::LatencyInfo> latency_info; 76 std::vector<ui::LatencyInfo> latency_info;
77 77
78 // This is the set of Surfaces that are referenced by this frame. 78 // This is the set of Surfaces that are referenced by this frame.
79 std::vector<SurfaceId> referenced_surfaces; 79 std::vector<SurfaceId> referenced_surfaces;
80 80
81 // This indicates whether this CompositorFrame can be activated before
82 // dependencies have been resolved.
83 bool can_activate_before_dependencies = true;
84
81 private: 85 private:
82 CompositorFrameMetadata(const CompositorFrameMetadata& other); 86 CompositorFrameMetadata(const CompositorFrameMetadata& other);
83 CompositorFrameMetadata operator=(const CompositorFrameMetadata&) = delete; 87 CompositorFrameMetadata operator=(const CompositorFrameMetadata&) = delete;
84 }; 88 };
85 89
86 } // namespace cc 90 } // namespace cc
87 91
88 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ 92 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698