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

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

Issue 806413004: Plumb allow_overlay flag for video path into cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 int32, /* Number of video frames to generate */ 681 int32, /* Number of video frames to generate */
682 gfx::Size, /* Requested size of buffer */ 682 gfx::Size, /* Requested size of buffer */
683 uint32 ) /* Texture target */ 683 uint32 ) /* Texture target */
684 684
685 // Decoder reports that a picture is ready and buffer does not need to be passed 685 // Decoder reports that a picture is ready and buffer does not need to be passed
686 // back to the decoder. 686 // back to the decoder.
687 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer, 687 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_DismissPictureBuffer,
688 int32) /* Picture buffer ID */ 688 int32) /* Picture buffer ID */
689 689
690 // Decoder reports that a picture is ready. 690 // Decoder reports that a picture is ready.
691 IPC_MESSAGE_ROUTED3(AcceleratedVideoDecoderHostMsg_PictureReady, 691 IPC_MESSAGE_ROUTED4(AcceleratedVideoDecoderHostMsg_PictureReady,
692 int32, /* Picture buffer ID */ 692 int32, /* Picture buffer ID */
693 int32, /* Bitstream buffer ID */ 693 int32, /* Bitstream buffer ID */
694 gfx::Rect) /* Visible rectangle */ 694 gfx::Rect, /* Visible rectangle */
695 bool) /* Is overlay buffer */
alexst (slow to review) 2015/01/19 19:59:31 Driveby nit: "Is HW overlay capable" or something
achaulk 2015/01/21 17:12:03 Done.
695 696
696 // Confirm decoder has been flushed. 697 // Confirm decoder has been flushed.
697 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 698 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
698 699
699 // Confirm decoder has been reset. 700 // Confirm decoder has been reset.
700 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 701 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
701 702
702 // Video decoder has encountered an error. 703 // Video decoder has encountered an error.
703 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 704 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
704 uint32) /* Error ID */ 705 uint32) /* Error ID */
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
749 int32 /* bitstream_buffer_id */, 750 int32 /* bitstream_buffer_id */,
750 uint32 /* payload_size */, 751 uint32 /* payload_size */,
751 bool /* key_frame */) 752 bool /* key_frame */)
752 753
753 // Report error condition. 754 // Report error condition.
754 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError, 755 IPC_MESSAGE_ROUTED1(AcceleratedVideoEncoderHostMsg_NotifyError,
755 media::VideoEncodeAccelerator::Error /* error */) 756 media::VideoEncodeAccelerator::Error /* error */)
756 757
757 // Send destroy request to the encoder. 758 // Send destroy request to the encoder.
758 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy) 759 IPC_MESSAGE_ROUTED0(AcceleratedVideoEncoderMsg_Destroy)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698