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

Unified Diff: cc/blimp/layer_tree_host_remote.cc

Issue 2527283003: cc: Introduce BeginFrame sequence numbers and acknowledgements.
Patch Set: Address Brian's comments. 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 | « cc/blimp/layer_tree_host_remote.h ('k') | cc/ipc/begin_frame_args.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blimp/layer_tree_host_remote.cc
diff --git a/cc/blimp/layer_tree_host_remote.cc b/cc/blimp/layer_tree_host_remote.cc
index 466a4209370460a429f6a3f943a2e735f5de5b43..49711714356dd047c7b58d7ef30dcd88fd690ebc 100644
--- a/cc/blimp/layer_tree_host_remote.cc
+++ b/cc/blimp/layer_tree_host_remote.cc
@@ -11,7 +11,6 @@
#include "cc/blimp/engine_picture_cache.h"
#include "cc/blimp/picture_data_conversions.h"
#include "cc/blimp/remote_compositor_bridge.h"
-#include "cc/output/begin_frame_args.h"
#include "cc/output/compositor_frame_sink.h"
#include "cc/proto/compositor_message.pb.h"
#include "cc/proto/gfx_conversions.h"
@@ -371,7 +370,9 @@ void LayerTreeHostRemote::BeginMainFrame() {
current_pipeline_stage_ = FramePipelineStage::ANIMATE;
base::TimeTicks now = base::TimeTicks::Now();
client_->BeginMainFrame(BeginFrameArgs::Create(
- BEGINFRAME_FROM_HERE, now, now + kDefaultFrameInterval,
+ BEGINFRAME_FROM_HERE,
+ static_cast<uint64_t>(reinterpret_cast<std::uintptr_t>(this)),
+ begin_frame_number_++, now, now + kDefaultFrameInterval,
kDefaultFrameInterval, BeginFrameArgs::NORMAL));
// We don't run any animations on the layer because threaded animations are
// disabled.
« no previous file with comments | « cc/blimp/layer_tree_host_remote.h ('k') | cc/ipc/begin_frame_args.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698