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

Unified Diff: cc/output/begin_frame_args.cc

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/output/begin_frame_args.h ('k') | cc/surfaces/compositor_frame_sink_support.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/begin_frame_args.cc
diff --git a/cc/output/begin_frame_args.cc b/cc/output/begin_frame_args.cc
index f6d66520b5150a5abf26372bc006447a45b29fc9..bf41afa277dafb8600b530df9f9ee7f084db09dd 100644
--- a/cc/output/begin_frame_args.cc
+++ b/cc/output/begin_frame_args.cc
@@ -127,4 +127,11 @@ BeginFrameAck::BeginFrameAck(uint32_t source_id,
DCHECK_LT(BeginFrameArgs::kInvalidFrameNumber, sequence_number);
}
+// static
+BeginFrameAck BeginFrameAck::CreateManualAckWithDamage() {
+ return BeginFrameAck(BeginFrameArgs::kManualSourceId,
+ BeginFrameArgs::kStartingFrameNumber,
+ BeginFrameArgs::kInvalidFrameNumber, 0, true);
+}
+
} // namespace cc
« no previous file with comments | « cc/output/begin_frame_args.h ('k') | cc/surfaces/compositor_frame_sink_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698