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

Unified Diff: chrome/gpu/gpu_command_buffer_stub.cc

Issue 4142004: Let every "accelerated IO surface swapped" message have an identifier of the surface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 10 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: chrome/gpu/gpu_command_buffer_stub.cc
diff --git a/chrome/gpu/gpu_command_buffer_stub.cc b/chrome/gpu/gpu_command_buffer_stub.cc
index 053d79c51e4515f4136434b3edce29c3d746c473..2834c00438494339e9dfa3cb208c874ace606c56 100644
--- a/chrome/gpu/gpu_command_buffer_stub.cc
+++ b/chrome/gpu/gpu_command_buffer_stub.cc
@@ -198,10 +198,8 @@ void GpuCommandBufferStub::OnSetWindowSize(const gfx::Size& size) {
void GpuCommandBufferStub::SwapBuffersCallback() {
ChildThread* gpu_thread = ChildThread::current();
- gpu_thread->Send(
- new GpuHostMsg_AcceleratedSurfaceBuffersSwapped(renderer_id_,
- render_view_id_,
- handle_));
+ gpu_thread->Send(new GpuHostMsg_AcceleratedSurfaceBuffersSwapped(
+ renderer_id_, render_view_id_, handle_, processor_->GetSurfaceId()));
}
#endif // defined(OS_MACOSX)

Powered by Google App Engine
This is Rietveld 408576698