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

Unified Diff: content/common/gpu/image_transport_surface_win.cc

Issue 23843005: Report accelerated surface vsync time info to browser compositor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « content/common/gpu/gpu_messages.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/image_transport_surface_win.cc
diff --git a/content/common/gpu/image_transport_surface_win.cc b/content/common/gpu/image_transport_surface_win.cc
index 28a24496287db205027576e8bcb1effc44e683b1..bddcf06d947063120cfd2b776d43f7275a7fbaa0 100644
--- a/content/common/gpu/image_transport_surface_win.cc
+++ b/content/common/gpu/image_transport_surface_win.cc
@@ -207,7 +207,9 @@ void PbufferImageTransportSurface::SendBuffersSwapped() {
}
void PbufferImageTransportSurface::OnBufferPresented(
- const AcceleratedSurfaceMsg_BufferPresented_Params& /* params */) {
+ const AcceleratedSurfaceMsg_BufferPresented_Params& params) {
+ helper_->SendUpdateVSyncParameters(params.vsync_timebase,
+ params.vsync_interval);
is_swap_buffers_pending_ = false;
if (did_unschedule_) {
did_unschedule_ = false;
« no previous file with comments | « content/common/gpu/gpu_messages.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698