| 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 |
| 11 #include "base/shared_memory.h" | 11 #include "base/shared_memory.h" |
| 12 #include "cc/debug/latency_info.h" | 12 #include "cc/debug/latency_info.h" |
| 13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
| 14 #include "content/common/gpu/gpu_memory_allocation.h" | 14 #include "content/common/gpu/gpu_memory_allocation.h" |
| 15 #include "content/common/gpu/gpu_memory_uma_stats.h" | 15 #include "content/common/gpu/gpu_memory_uma_stats.h" |
| 16 #include "content/common/gpu/gpu_process_launch_causes.h" | 16 #include "content/common/gpu/gpu_process_launch_causes.h" |
| 17 #include "content/common/gpu/gpu_rendering_stats.h" | 17 #include "content/common/gpu/gpu_rendering_stats.h" |
| 18 #include "content/public/common/common_param_traits.h" | 18 #include "content/public/common/common_param_traits.h" |
| 19 #include "content/public/common/gpu_memory_stats.h" | 19 #include "content/public/common/gpu_memory_stats.h" |
| 20 #include "gpu/command_buffer/common/command_buffer.h" | 20 #include "gpu/command_buffer/common/command_buffer.h" |
| 21 #include "gpu/command_buffer/common/constants.h" | 21 #include "gpu/command_buffer/common/constants.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/gfx/native_widget_types.h" | 27 #include "ui/gfx/native_widget_types.h" |
| 28 #include "ui/gfx/size.h" | 28 #include "ui/gfx/size.h" |
| 29 #include "ui/gl/gpu_preference.h" | 29 #include "ui/gl/gpu_preference.h" |
| 30 #include "ui/surface/transport_dib.h" | |
| 31 | 30 |
| 32 #if defined(OS_ANDROID) | 31 #if defined(OS_ANDROID) |
| 33 #include "content/common/android/surface_texture_peer.h" | 32 #include "content/common/android/surface_texture_peer.h" |
| 34 #endif | 33 #endif |
| 35 | 34 |
| 36 #define IPC_MESSAGE_START GpuMsgStart | 35 #define IPC_MESSAGE_START GpuMsgStart |
| 37 | 36 |
| 38 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) | 37 IPC_STRUCT_BEGIN(GPUCreateCommandBufferConfig) |
| 39 IPC_STRUCT_MEMBER(int32, share_group_id) | 38 IPC_STRUCT_MEMBER(int32, share_group_id) |
| 40 IPC_STRUCT_MEMBER(std::string, allowed_extensions) | 39 IPC_STRUCT_MEMBER(std::string, allowed_extensions) |
| (...skipping 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 671 | 670 |
| 672 // Confirm decoder has been flushed. | 671 // Confirm decoder has been flushed. |
| 673 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) | 672 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) |
| 674 | 673 |
| 675 // Confirm decoder has been reset. | 674 // Confirm decoder has been reset. |
| 676 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) | 675 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) |
| 677 | 676 |
| 678 // Video decoder has encountered an error. | 677 // Video decoder has encountered an error. |
| 679 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, | 678 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, |
| 680 uint32) /* Error ID */ | 679 uint32) /* Error ID */ |
| OLD | NEW |