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

Unified Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 2771053003: WIP: Plumbing input event latency reporting through Mus GPU.
Patch Set: NON_EXPORTED_BASE Created 3 years, 8 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/compositor_impl_android.cc
diff --git a/content/browser/renderer_host/compositor_impl_android.cc b/content/browser/renderer_host/compositor_impl_android.cc
index 8b9dd49dd6d42d72572a8b89b9550e9152daa551..5fe3d9a0e203623ae1c37e079a9a2ba3de96ad5f 100644
--- a/content/browser/renderer_host/compositor_impl_android.cc
+++ b/content/browser/renderer_host/compositor_impl_android.cc
@@ -230,7 +230,7 @@ class AndroidOutputSurface : public cc::OutputSurface {
~AndroidOutputSurface() override = default;
void SwapBuffers(cc::OutputSurfaceFrame frame) override {
- GetCommandBufferProxy()->SetLatencyInfo(frame.latency_info);
+ GetCommandBufferProxy()->AddLatencyInfo(frame.latency_info);
if (frame.sub_buffer_rect) {
DCHECK(frame.sub_buffer_rect->IsEmpty());
context_provider_->ContextSupport()->CommitOverlayPlanes();
« no previous file with comments | « content/browser/renderer_host/DEPS ('k') | content/browser/renderer_host/input/render_widget_host_latency_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698