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

Unified Diff: gpu/ipc/service/pass_through_image_transport_surface.h

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
« no previous file with comments | « gpu/ipc/in_process_command_buffer.cc ('k') | gpu/ipc/service/pass_through_image_transport_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/service/pass_through_image_transport_surface.h
diff --git a/gpu/ipc/service/pass_through_image_transport_surface.h b/gpu/ipc/service/pass_through_image_transport_surface.h
index 602cc3fcec97d5baca53628724967ed0b29fb60c..cf7331ccd74d3c9c33e9030576342deaddd124f6 100644
--- a/gpu/ipc/service/pass_through_image_transport_surface.h
+++ b/gpu/ipc/service/pass_through_image_transport_surface.h
@@ -52,7 +52,9 @@ class PassThroughImageTransportSurface : public gl::GLSurfaceAdapter {
// the browser.
void SendVSyncUpdateIfAvailable();
- void SetLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info);
+ // Add |latency_info| to be reported and augumented with GPU latency
+ // components next time there is a GPU buffer swap.
+ void AddLatencyInfo(const std::vector<ui::LatencyInfo>& latency_info);
std::unique_ptr<std::vector<ui::LatencyInfo>> StartSwapBuffers();
void FinishSwapBuffers(
std::unique_ptr<std::vector<ui::LatencyInfo>> latency_info,
« no previous file with comments | « gpu/ipc/in_process_command_buffer.cc ('k') | gpu/ipc/service/pass_through_image_transport_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698