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

Side by Side Diff: content/common/gpu/gpu_messages.h

Issue 10663003: Merge the IPCs used for GPU process synchronization. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message file, hence no include guard here, but see below 5 // Multiply-included message file, hence no include guard here, but see below
6 // for a much smaller-than-usual include guard section. 6 // for a much smaller-than-usual include guard section.
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 194
195 // Tells the GPU process that the browser process has finished resizing the 195 // Tells the GPU process that the browser process has finished resizing the
196 // view. 196 // view.
197 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_ResizeViewACK) 197 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_ResizeViewACK)
198 198
199 // Tells the GPU process that it's safe to start rendering to the surface. 199 // Tells the GPU process that it's safe to start rendering to the surface.
200 IPC_MESSAGE_ROUTED2(AcceleratedSurfaceMsg_NewACK, 200 IPC_MESSAGE_ROUTED2(AcceleratedSurfaceMsg_NewACK,
201 uint64 /* surface_handle */, 201 uint64 /* surface_handle */,
202 TransportDIB::Handle /* shared memory buffer */) 202 TransportDIB::Handle /* shared memory buffer */)
203 203
204 // Tells the GPU process that the browser process handled the swap 204 // Tells the GPU process that the browser process has handled the swap
205 // buffers request. 205 // buffers or post sub-buffer request.
206 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_BuffersSwappedACK) 206 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_BufferPresented)
207
208 // Tells the GPU process that the browser process handled the
209 // PostSubBuffer command.
210 IPC_MESSAGE_ROUTED0(AcceleratedSurfaceMsg_PostSubBufferACK)
211 207
212 // Tells the GPU process to remove all contexts. 208 // Tells the GPU process to remove all contexts.
213 IPC_MESSAGE_CONTROL0(GpuMsg_Clean) 209 IPC_MESSAGE_CONTROL0(GpuMsg_Clean)
214 210
215 // Tells the GPU process to crash. 211 // Tells the GPU process to crash.
216 IPC_MESSAGE_CONTROL0(GpuMsg_Crash) 212 IPC_MESSAGE_CONTROL0(GpuMsg_Crash)
217 213
218 // Tells the GPU process to hang. 214 // Tells the GPU process to hang.
219 IPC_MESSAGE_CONTROL0(GpuMsg_Hang) 215 IPC_MESSAGE_CONTROL0(GpuMsg_Hang)
220 216
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 529
534 // Confirm decoder has been flushed. 530 // Confirm decoder has been flushed.
535 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 531 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
536 532
537 // Confirm decoder has been reset. 533 // Confirm decoder has been reset.
538 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 534 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
539 535
540 // Video decoder has encountered an error. 536 // Video decoder has encountered an error.
541 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 537 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
542 uint32) /* Error ID */ 538 uint32) /* Error ID */
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.mm ('k') | content/common/gpu/image_transport_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698