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

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

Issue 11195011: Send vsync timebase updates to the browser compositor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Send vsync timebase updates to the browser compositor Created 8 years, 2 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/common/gpu/gpu_command_buffer_stub.cc
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc
index 2de52e9ece00eb16f0d2c367812c45309115829a..96676bf560fb08f36abb93397e459d2f985a0632 100644
--- a/content/common/gpu/gpu_command_buffer_stub.cc
+++ b/content/common/gpu/gpu_command_buffer_stub.cc
@@ -791,6 +791,10 @@ void GpuCommandBufferStub::SendConsoleMessage(
Send(msg);
}
+void GpuCommandBufferStub::SendUpdateVSyncTime(int64 time) {
+ Send(new GpuCommandBufferMsg_UpdateVSyncTime(route_id_, time));
+}
+
void GpuCommandBufferStub::AddDestructionObserver(
DestructionObserver* observer) {
destruction_observers_.AddObserver(observer);

Powered by Google App Engine
This is Rietveld 408576698