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

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

Issue 1129943006: Implement StreamTexture::BindTexImage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
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 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 // Destroy a previously created image. 645 // Destroy a previously created image.
646 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, 646 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage,
647 int32 /* id */) 647 int32 /* id */)
648 648
649 // Attaches an external image stream to the client texture. 649 // Attaches an external image stream to the client texture.
650 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, 650 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture,
651 uint32, /* client_texture_id */ 651 uint32, /* client_texture_id */
652 int32, /* stream_id */ 652 int32, /* stream_id */
653 bool /* succeeded */) 653 bool /* succeeded */)
654 654
655 // Attaches an external image stream.
656 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTextureImage,
657 int32, /* image_id */
658 int32, /* stream_id */
659 bool /* succeeded */)
660
655 //------------------------------------------------------------------------------ 661 //------------------------------------------------------------------------------
656 // Accelerated Video Decoder Messages 662 // Accelerated Video Decoder Messages
657 // These messages are sent from Renderer process to GPU process. 663 // These messages are sent from Renderer process to GPU process.
658 664
659 // Send input buffer for decoding. 665 // Send input buffer for decoding.
660 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode, 666 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderMsg_Decode,
661 base::SharedMemoryHandle, /* input_buffer_handle */ 667 base::SharedMemoryHandle, /* input_buffer_handle */
662 int32, /* bitstream_buffer_id */ 668 int32, /* bitstream_buffer_id */
663 uint32) /* size */ 669 uint32) /* size */
664 670
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) 798 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy)
793 799
794 //------------------------------------------------------------------------------ 800 //------------------------------------------------------------------------------
795 // Accelerated JPEG Decoder Host Messages 801 // Accelerated JPEG Decoder Host Messages
796 // These messages are sent from the GPU process to Browser process. 802 // These messages are sent from the GPU process to Browser process.
797 // 803 //
798 // Report decode status. 804 // Report decode status.
799 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, 805 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck,
800 int32, /* bitstream_buffer_id */ 806 int32, /* bitstream_buffer_id */
801 media::JpegDecodeAccelerator::Error /* error */) 807 media::JpegDecodeAccelerator::Error /* error */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698