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

Unified Diff: cc/output/begin_frame_args.h

Issue 2755463002: [cc] Fix CompositorFrameSinkSupport BeginFrameAck interface. (Closed)
Patch Set: sync Created 3 years, 9 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/ipc/mojo_compositor_frame_sink.mojom ('k') | cc/output/begin_frame_args.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/begin_frame_args.h
diff --git a/cc/output/begin_frame_args.h b/cc/output/begin_frame_args.h
index 7a6128994f723054e7c6c40e757475850dafbe35..41b156ad708d33692eed652b8c58a4466df3b4f7 100644
--- a/cc/output/begin_frame_args.h
+++ b/cc/output/begin_frame_args.h
@@ -125,6 +125,10 @@ struct CC_EXPORT BeginFrameAck {
uint32_t remaining_frames,
bool has_damage);
+ // Creates a BeginFrameAck for a manual BeginFrame. Used when clients produce
+ // a CompositorFrame without prior BeginFrame, e.g. for synchronous drawing.
+ static BeginFrameAck CreateManualAckWithDamage();
+
// Sequence number of the BeginFrame that is acknowledged.
uint64_t sequence_number;
« no previous file with comments | « cc/ipc/mojo_compositor_frame_sink.mojom ('k') | cc/output/begin_frame_args.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698