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

Unified Diff: cc/blimp/layer_tree_host_remote.h

Issue 2583483002: [cc] Adds source_id and sequence_number to BeginFrameArgs. (Closed)
Patch Set: fix field ordering Created 4 years 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 | « no previous file | cc/blimp/layer_tree_host_remote.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blimp/layer_tree_host_remote.h
diff --git a/cc/blimp/layer_tree_host_remote.h b/cc/blimp/layer_tree_host_remote.h
index e7c3c8b780e3cf4642c907a89bec2b64141f4efd..b1c1748f2a507fda121d5eb0c11767da3a572544 100644
--- a/cc/blimp/layer_tree_host_remote.h
+++ b/cc/blimp/layer_tree_host_remote.h
@@ -10,6 +10,8 @@
#include "cc/base/cc_export.h"
#include "cc/blimp/remote_compositor_bridge_client.h"
#include "cc/debug/layer_tree_debug_state.h"
+#include "cc/output/begin_frame_args.h"
+#include "cc/scheduler/begin_frame_source.h"
#include "cc/surfaces/surface_sequence_generator.h"
#include "cc/trees/layer_tree_host.h"
#include "cc/trees/layer_tree_settings.h"
@@ -126,6 +128,10 @@ class CC_EXPORT LayerTreeHostRemote : public LayerTreeHost,
bool visible_ = false;
bool defer_commits_ = false;
+ // Provides |source_id| for BeginFrameArgs we create.
+ StubBeginFrameSource begin_frame_source_;
+ uint64_t begin_frame_number_ = BeginFrameArgs::kStartingFrameNumber;
+
// In threaded/single-threaded mode, the LayerTree and Layers expect scroll/
// scale updates to come from the impl thread only during the main frame.
// Since we synchronize state outside of that, this is set so we can
« no previous file with comments | « no previous file | cc/blimp/layer_tree_host_remote.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698