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

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

Issue 7467037: Made Destroy() followup more aggressive to test for races. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <vector> 8 #include <vector>
9 #include <string> 9 #include <string>
10 10
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 int32 /* id */, 389 int32 /* id */,
390 base::SharedMemoryHandle /* transfer_buffer */, 390 base::SharedMemoryHandle /* transfer_buffer */,
391 uint32 /* size */) 391 uint32 /* size */)
392 392
393 // Create and initialize a hardware video decoder. 393 // Create and initialize a hardware video decoder.
394 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_CreateVideoDecoder, 394 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_CreateVideoDecoder,
395 std::vector<uint32> /* configs */) 395 std::vector<uint32> /* configs */)
396 396
397 // Release all resources held by the hardware video decoder associated with this 397 // Release all resources held by the hardware video decoder associated with this
398 // stub. 398 // stub.
399 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_DestroyVideoDecoder) 399 IPC_SYNC_MESSAGE_ROUTED0_0(GpuCommandBufferMsg_DestroyVideoDecoder)
400 400
401 // Send from command buffer stub to proxy when window is invalid and must be 401 // Send from command buffer stub to proxy when window is invalid and must be
402 // repainted. 402 // repainted.
403 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_NotifyRepaint) 403 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_NotifyRepaint)
404 404
405 // Tells the GPU process to resize an offscreen frame buffer. 405 // Tells the GPU process to resize an offscreen frame buffer.
406 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_ResizeOffscreenFrameBuffer, 406 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_ResizeOffscreenFrameBuffer,
407 gfx::Size /* size */) 407 gfx::Size /* size */)
408 408
409 #if defined(OS_MACOSX) 409 #if defined(OS_MACOSX)
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 531
532 // Confirm decoder has been reset. 532 // Confirm decoder has been reset.
533 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 533 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
534 534
535 // Decoder has faced end of stream marker in the stream. 535 // Decoder has faced end of stream marker in the stream.
536 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) 536 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream)
537 537
538 // Video decoder has encountered an error. 538 // Video decoder has encountered an error.
539 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 539 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
540 uint32) /* Error ID */ 540 uint32) /* Error ID */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698