| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/memory/shared_memory.h" | 13 #include "base/memory/shared_memory.h" |
| 14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
| 15 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
| 16 #include "content/common/content_param_traits.h" | 16 #include "content/common/content_param_traits.h" |
| 17 #include "content/common/gpu/gpu_memory_uma_stats.h" | 17 #include "content/common/gpu/gpu_memory_uma_stats.h" |
| 18 #include "content/common/gpu/gpu_process_launch_causes.h" | 18 #include "content/common/gpu/gpu_process_launch_causes.h" |
| 19 #include "content/common/gpu/gpu_stream_constants.h" | 19 #include "content/common/gpu/gpu_stream_constants.h" |
| 20 #include "content/public/common/common_param_traits.h" | 20 #include "content/public/common/common_param_traits.h" |
| 21 #include "gpu/command_buffer/common/capabilities.h" | 21 #include "gpu/command_buffer/common/capabilities.h" |
| 22 #include "gpu/command_buffer/common/command_buffer.h" | 22 #include "gpu/command_buffer/common/command_buffer.h" |
| 23 #include "gpu/command_buffer/common/constants.h" | 23 #include "gpu/command_buffer/common/constants.h" |
| 24 #include "gpu/command_buffer/common/gpu_memory_allocation.h" | 24 #include "gpu/command_buffer/common/gpu_memory_allocation.h" |
| 25 #include "gpu/command_buffer/common/mailbox.h" | 25 #include "gpu/command_buffer/common/mailbox.h" |
| 26 #include "gpu/command_buffer/common/sync_token.h" | 26 #include "gpu/command_buffer/common/sync_token.h" |
| 27 #include "gpu/command_buffer/common/value_state.h" | 27 #include "gpu/command_buffer/common/value_state.h" |
| 28 #include "gpu/config/gpu_info.h" | 28 #include "gpu/config/gpu_info.h" |
| 29 #include "gpu/ipc/gpu_command_buffer_traits.h" | 29 #include "gpu/ipc/common/gpu_command_buffer_traits.h" |
| 30 #include "ipc/ipc_channel_handle.h" | 30 #include "ipc/ipc_channel_handle.h" |
| 31 #include "ipc/ipc_message_macros.h" | 31 #include "ipc/ipc_message_macros.h" |
| 32 #include "ui/events/latency_info.h" | 32 #include "ui/events/latency_info.h" |
| 33 #include "ui/gfx/geometry/size.h" | 33 #include "ui/gfx/geometry/size.h" |
| 34 #include "ui/gfx/gpu_memory_buffer.h" | 34 #include "ui/gfx/gpu_memory_buffer.h" |
| 35 #include "ui/gfx/ipc/gfx_param_traits.h" | 35 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 36 #include "ui/gfx/native_widget_types.h" | 36 #include "ui/gfx/native_widget_types.h" |
| 37 #include "ui/gfx/swap_result.h" | 37 #include "ui/gfx/swap_result.h" |
| 38 #include "ui/gl/gpu_preference.h" | 38 #include "ui/gl/gpu_preference.h" |
| 39 | 39 |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 GpuCommandBufferMsg_CreateImage_Params /* params */) | 330 GpuCommandBufferMsg_CreateImage_Params /* params */) |
| 331 | 331 |
| 332 // Destroy a previously created image. | 332 // Destroy a previously created image. |
| 333 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) | 333 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) |
| 334 | 334 |
| 335 // Attaches an external image stream to the client texture. | 335 // Attaches an external image stream to the client texture. |
| 336 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, | 336 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, |
| 337 uint32_t, /* client_texture_id */ | 337 uint32_t, /* client_texture_id */ |
| 338 int32_t, /* stream_id */ | 338 int32_t, /* stream_id */ |
| 339 bool /* succeeded */) | 339 bool /* succeeded */) |
| OLD | NEW |