OLD | NEW |
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 10 matching lines...) Expand all Loading... |
21 #include "gpu/command_buffer/common/mailbox.h" | 21 #include "gpu/command_buffer/common/mailbox.h" |
22 #include "gpu/config/gpu_info.h" | 22 #include "gpu/config/gpu_info.h" |
23 #include "gpu/ipc/gpu_command_buffer_traits.h" | 23 #include "gpu/ipc/gpu_command_buffer_traits.h" |
24 #include "ipc/ipc_channel_handle.h" | 24 #include "ipc/ipc_channel_handle.h" |
25 #include "ipc/ipc_message_macros.h" | 25 #include "ipc/ipc_message_macros.h" |
26 #include "media/video/video_decode_accelerator.h" | 26 #include "media/video/video_decode_accelerator.h" |
27 #include "ui/base/latency_info.h" | 27 #include "ui/base/latency_info.h" |
28 #include "ui/gfx/native_widget_types.h" | 28 #include "ui/gfx/native_widget_types.h" |
29 #include "ui/gfx/size.h" | 29 #include "ui/gfx/size.h" |
30 #include "ui/gl/gpu_preference.h" | 30 #include "ui/gl/gpu_preference.h" |
31 #include "ui/surface/transport_dib.h" | |
32 | 31 |
33 #if defined(OS_ANDROID) | 32 #if defined(OS_ANDROID) |
34 #include "content/common/android/surface_texture_peer.h" | 33 #include "content/common/android/surface_texture_peer.h" |
35 #endif | 34 #endif |
36 | 35 |
37 #define IPC_MESSAGE_START GpuMsgStart | 36 #define IPC_MESSAGE_START GpuMsgStart |
38 | 37 |
39 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) | 38 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) |
40 IPC_STRUCT_MEMBER(int32, share_group_id) | 39 IPC_STRUCT_MEMBER(int32, share_group_id) |
41 IPC_STRUCT_MEMBER(std::string, allowed_extensions) | 40 IPC_STRUCT_MEMBER(std::string, allowed_extensions) |
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
673 | 672 |
674 // Confirm decoder has been flushed. | 673 // Confirm decoder has been flushed. |
675 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 674 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
676 | 675 |
677 // Confirm decoder has been reset. | 676 // Confirm decoder has been reset. |
678 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 677 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
679 | 678 |
680 // Video decoder has encountered an error. | 679 // Video decoder has encountered an error. |
681 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 680 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
682 uint32) /* Error ID */ | 681 uint32) /* Error ID */ |
OLD | NEW |