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

Unified Diff: content/browser/gpu/gpu_process_host_ui_shim.cc

Issue 1273563002: Mac Overlays: Add GPU back-pressure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use default fences Created 5 years, 4 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/gpu/gpu_process_host_ui_shim.cc
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc
index 637f4bc5bf70052b23b27cb3531dfa5b5dad696d..040daa30990631f16e6ba0d3b58a98345c3d5931 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
@@ -308,7 +308,8 @@ void GpuProcessHostUIShim::OnAcceleratedSurfaceBuffersSwapped(
params.scale_factor,
params.damage_rect,
base::Bind(&OnSurfaceDisplayedCallback, params.surface_id),
- &ack_params.disable_throttling, &ack_params.renderer_id);
+ &ack_params.disable_throttling, &ack_params.renderer_id,
+ &ack_params.display_id_for_vsync);
}
Send(new AcceleratedSurfaceMsg_BufferPresented(params.route_id, ack_params));
}

Powered by Google App Engine
This is Rietveld 408576698