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

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

Issue 1207043002: Introduce a client minimum picture pool size (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 base::SharedMemoryHandle /* transfer_buffer */, 551 base::SharedMemoryHandle /* transfer_buffer */,
552 uint32 /* size */) 552 uint32 /* size */)
553 553
554 // Destroy a previously created transfer buffer. 554 // Destroy a previously created transfer buffer.
555 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyTransferBuffer, 555 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyTransferBuffer,
556 int32 /* id */) 556 int32 /* id */)
557 557
558 // Create and initialize a hardware video decoder using the specified route_id. 558 // Create and initialize a hardware video decoder using the specified route_id.
559 // Created decoders should be freed with AcceleratedVideoDecoderMsg_Destroy when 559 // Created decoders should be freed with AcceleratedVideoDecoderMsg_Destroy when
560 // no longer needed. 560 // no longer needed.
561 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateVideoDecoder, 561 IPC_SYNC_MESSAGE_ROUTED3_1(GpuCommandBufferMsg_CreateVideoDecoder,
562 media::VideoCodecProfile /* profile */, 562 media::VideoCodecProfile /* profile */,
563 uint32, /* min_picture_count */
563 int32, /* route_id */ 564 int32, /* route_id */
564 bool /* succeeded */) 565 bool /* succeeded */)
565 566
566 // Create and initialize a hardware video encoder using the specified route_id. 567 // Create and initialize a hardware video encoder using the specified route_id.
567 // Created encoders should be freed with AcceleratedVideoEncoderMsg_Destroy when 568 // Created encoders should be freed with AcceleratedVideoEncoderMsg_Destroy when
568 // no longer needed. 569 // no longer needed.
569 IPC_SYNC_MESSAGE_ROUTED5_1(GpuCommandBufferMsg_CreateVideoEncoder, 570 IPC_SYNC_MESSAGE_ROUTED5_1(GpuCommandBufferMsg_CreateVideoEncoder,
570 media::VideoFrame::Format /* input_format */, 571 media::VideoFrame::Format /* input_format */,
571 gfx::Size /* input_visible_size */, 572 gfx::Size /* input_visible_size */,
572 media::VideoCodecProfile /* output_profile */, 573 media::VideoCodecProfile /* output_profile */,
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy) 793 IPC_MESSAGE_ROUTED0(AcceleratedJpegDecoderMsg_Destroy)
793 794
794 //------------------------------------------------------------------------------ 795 //------------------------------------------------------------------------------
795 // Accelerated JPEG Decoder Host Messages 796 // Accelerated JPEG Decoder Host Messages
796 // These messages are sent from the GPU process to Browser process. 797 // These messages are sent from the GPU process to Browser process.
797 // 798 //
798 // Report decode status. 799 // Report decode status.
799 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck, 800 IPC_MESSAGE_ROUTED2(AcceleratedJpegDecoderHostMsg_DecodeAck,
800 int32, /* bitstream_buffer_id */ 801 int32, /* bitstream_buffer_id */
801 media::JpegDecodeAccelerator::Error /* error */) 802 media::JpegDecodeAccelerator::Error /* error */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698