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

Side by Side Diff: cc/output/compositor_frame_metadata.h

Issue 2789773003: Send FrameSwapMessageQueue's messages with a separate IPC (Closed)
Patch Set: Fix rebase mistake 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 unified diff | Download patch
« no previous file with comments | « cc/ipc/compositor_frame_metadata_struct_traits.h ('k') | content/browser/bad_message.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 // This is a value that allows the browser to associate compositor frames 86 // This is a value that allows the browser to associate compositor frames
87 // with the content that they represent -- typically top-level page loads. 87 // with the content that they represent -- typically top-level page loads.
88 // TODO(kenrb, fsamuel): This should eventually by SurfaceID, when they 88 // TODO(kenrb, fsamuel): This should eventually by SurfaceID, when they
89 // become available in all renderer processes. See https://crbug.com/695579. 89 // become available in all renderer processes. See https://crbug.com/695579.
90 uint32_t content_source_id = 0; 90 uint32_t content_source_id = 0;
91 91
92 // BeginFrameAck for the BeginFrame that this CompositorFrame answers. 92 // BeginFrameAck for the BeginFrame that this CompositorFrame answers.
93 BeginFrameAck begin_frame_ack; 93 BeginFrameAck begin_frame_ack;
94 94
95 // Once the display compositor processes a frame containing a non-zero frame
96 // token, the token is sent to embedder of the frame. This is helpful when
97 // the embedder wants to do something after a particular frame is processed.
98 uint32_t frame_token = 0;
99
95 private: 100 private:
96 CompositorFrameMetadata(const CompositorFrameMetadata& other); 101 CompositorFrameMetadata(const CompositorFrameMetadata& other);
97 CompositorFrameMetadata operator=(const CompositorFrameMetadata&) = delete; 102 CompositorFrameMetadata operator=(const CompositorFrameMetadata&) = delete;
98 }; 103 };
99 104
100 } // namespace cc 105 } // namespace cc
101 106
102 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_ 107 #endif // CC_OUTPUT_COMPOSITOR_FRAME_METADATA_H_
OLDNEW
« no previous file with comments | « cc/ipc/compositor_frame_metadata_struct_traits.h ('k') | content/browser/bad_message.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698