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

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

Issue 7545014: Implement PPAPI VideoDecode out-of-process support (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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 403
404 // Get the shared memory handle for a transfer buffer mapped to the callers 404 // Get the shared memory handle for a transfer buffer mapped to the callers
405 // process. 405 // process.
406 IPC_SYNC_MESSAGE_ROUTED1_2(GpuCommandBufferMsg_GetTransferBuffer, 406 IPC_SYNC_MESSAGE_ROUTED1_2(GpuCommandBufferMsg_GetTransferBuffer,
407 int32 /* id */, 407 int32 /* id */,
408 base::SharedMemoryHandle /* transfer_buffer */, 408 base::SharedMemoryHandle /* transfer_buffer */,
409 uint32 /* size */) 409 uint32 /* size */)
410 410
411 // Create and initialize a hardware video decoder. 411 // Create and initialize a hardware video decoder.
412 IPC_SYNC_MESSAGE_ROUTED1_0(GpuCommandBufferMsg_CreateVideoDecoder, 412 IPC_SYNC_MESSAGE_ROUTED1_0(GpuCommandBufferMsg_CreateVideoDecoder,
413 std::vector<uint32> /* configs */) 413 std::vector<int32> /* configs */)
414 414
415 // Release all resources held by the hardware video decoder associated with this 415 // Release all resources held by the hardware video decoder associated with this
416 // stub. 416 // stub.
417 IPC_SYNC_MESSAGE_ROUTED0_0(GpuCommandBufferMsg_DestroyVideoDecoder) 417 IPC_SYNC_MESSAGE_ROUTED0_0(GpuCommandBufferMsg_DestroyVideoDecoder)
418 418
419 // Send from command buffer stub to proxy when window is invalid and must be 419 // Send from command buffer stub to proxy when window is invalid and must be
420 // repainted. 420 // repainted.
421 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_NotifyRepaint) 421 IPC_MESSAGE_ROUTED0(GpuCommandBufferMsg_NotifyRepaint)
422 422
423 // Tells the GPU process to resize an offscreen frame buffer. 423 // Tells the GPU process to resize an offscreen frame buffer.
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 534
535 // Confirm decoder has been reset. 535 // Confirm decoder has been reset.
536 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 536 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
537 537
538 // Decoder has faced end of stream marker in the stream. 538 // Decoder has faced end of stream marker in the stream.
539 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream) 539 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_EndOfStream)
540 540
541 // Video decoder has encountered an error. 541 // Video decoder has encountered an error.
542 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 542 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
543 uint32) /* Error ID */ 543 uint32) /* Error ID */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698