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

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

Issue 2814483002: Splitting up RenderWidgetHostLatencyTracker and some renames. (Closed)
Patch Set: [Moving OnGpuSwapBuffersCompleted() back up. 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: 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/client/command_buffer_proxy_impl.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