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

Unified Diff: content/browser/renderer_host/delegated_frame_host.h

Issue 2740833005: [cc] Pass on BeginFrameAcks from CompositorEBFS through RWHVAura, DFH. (Closed)
Patch Set: address security comments 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
Index: content/browser/renderer_host/delegated_frame_host.h
diff --git a/content/browser/renderer_host/delegated_frame_host.h b/content/browser/renderer_host/delegated_frame_host.h
index 0cba4c46a9ee6d4a2c640f0707efccb85e6a9c52..d7b120f29ba34c7366e8ca2a0aab73e3a2b232d7 100644
--- a/content/browser/renderer_host/delegated_frame_host.h
+++ b/content/browser/renderer_host/delegated_frame_host.h
@@ -10,6 +10,7 @@
#include <vector>
#include "base/gtest_prod_util.h"
+#include "cc/output/begin_frame_args.h"
#include "cc/output/copy_output_result.h"
#include "cc/scheduler/begin_frame_source.h"
#include "cc/surfaces/compositor_frame_sink_support_client.h"
@@ -334,8 +335,10 @@ class CONTENT_EXPORT DelegatedFrameHost
yuv_readback_pipeline_;
std::unique_ptr<cc::ExternalBeginFrameSource> begin_frame_source_;
-
bool needs_begin_frame_ = false;
+ uint32_t latest_confirmed_begin_frame_source_id_ = 0;
+ uint64_t latest_confirmed_begin_frame_sequence_number_ =
+ cc::BeginFrameArgs::kInvalidFrameNumber;
bool has_frame_ = false;

Powered by Google App Engine
This is Rietveld 408576698