| 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 "base/unguessable_token.h" | 14 #include "base/unguessable_token.h" |
| 15 #include "build/build_config.h" | 15 #include "build/build_config.h" |
| 16 #include "gpu/command_buffer/common/capabilities.h" | 16 #include "gpu/command_buffer/common/capabilities.h" |
| 17 #include "gpu/command_buffer/common/command_buffer.h" | 17 #include "gpu/command_buffer/common/command_buffer.h" |
| 18 #include "gpu/command_buffer/common/constants.h" | 18 #include "gpu/command_buffer/common/constants.h" |
| 19 #include "gpu/command_buffer/common/gpu_memory_allocation.h" | 19 #include "gpu/command_buffer/common/gpu_memory_allocation.h" |
| 20 #include "gpu/command_buffer/common/mailbox.h" | 20 #include "gpu/command_buffer/common/mailbox.h" |
| 21 #include "gpu/command_buffer/common/sync_token.h" | 21 #include "gpu/command_buffer/common/sync_token.h" |
| 22 #include "gpu/command_buffer/common/texture_in_use_response.h" | 22 #include "gpu/command_buffer/common/texture_in_use_response.h" |
| 23 #include "gpu/config/gpu_info.h" | 23 #include "gpu/config/gpu_info.h" |
| 24 #include "gpu/gpu_export.h" | 24 #include "gpu/gpu_export.h" |
| 25 #include "gpu/ipc/common/gpu_command_buffer_traits.h" | 25 #include "gpu/ipc/common/gpu_command_buffer_traits.h" |
| 26 #include "gpu/ipc/common/gpu_param_traits.h" | 26 #include "gpu/ipc/common/gpu_param_traits.h" |
| 27 #include "gpu/ipc/common/surface_handle.h" | 27 #include "gpu/ipc/common/surface_handle.h" |
| 28 #include "ipc/ipc_channel_handle.h" | 28 #include "ipc/ipc_channel_handle.h" |
| 29 #include "ipc/ipc_message_macros.h" | 29 #include "ipc/ipc_message_macros.h" |
| 30 #include "ui/events/ipc/latency_info_param_traits.h" | |
| 31 #include "ui/events/latency_info.h" | |
| 32 #include "ui/gfx/geometry/size.h" | 30 #include "ui/gfx/geometry/size.h" |
| 33 #include "ui/gfx/gpu_memory_buffer.h" | 31 #include "ui/gfx/gpu_memory_buffer.h" |
| 34 #include "ui/gfx/ipc/geometry/gfx_param_traits.h" | 32 #include "ui/gfx/ipc/geometry/gfx_param_traits.h" |
| 35 #include "ui/gfx/ipc/gfx_param_traits.h" | 33 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 36 #include "ui/gfx/native_widget_types.h" | 34 #include "ui/gfx/native_widget_types.h" |
| 37 #include "ui/gfx/swap_result.h" | 35 #include "ui/gfx/swap_result.h" |
| 36 #include "ui/latency/ipc/latency_info_param_traits.h" |
| 37 #include "ui/latency/latency_info.h" |
| 38 #include "url/ipc/url_param_traits.h" | 38 #include "url/ipc/url_param_traits.h" |
| 39 | 39 |
| 40 #if defined(OS_MACOSX) | 40 #if defined(OS_MACOSX) |
| 41 #include "ui/base/cocoa/remote_layer_api.h" | 41 #include "ui/base/cocoa/remote_layer_api.h" |
| 42 #include "ui/gfx/mac/io_surface.h" | 42 #include "ui/gfx/mac/io_surface.h" |
| 43 #endif | 43 #endif |
| 44 | 44 |
| 45 #undef IPC_MESSAGE_EXPORT | 45 #undef IPC_MESSAGE_EXPORT |
| 46 #define IPC_MESSAGE_EXPORT GPU_EXPORT | 46 #define IPC_MESSAGE_EXPORT GPU_EXPORT |
| 47 | 47 |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) | 240 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) |
| 241 | 241 |
| 242 // Attaches an external image stream to the client texture. | 242 // Attaches an external image stream to the client texture. |
| 243 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, | 243 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, |
| 244 uint32_t, /* client_texture_id */ | 244 uint32_t, /* client_texture_id */ |
| 245 int32_t, /* stream_id */ | 245 int32_t, /* stream_id */ |
| 246 bool /* succeeded */) | 246 bool /* succeeded */) |
| 247 | 247 |
| 248 // Start or stop VSync sygnal production on GPU side (Windows only). | 248 // Start or stop VSync sygnal production on GPU side (Windows only). |
| 249 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetNeedsVSync, bool /* needs_vsync */) | 249 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_SetNeedsVSync, bool /* needs_vsync */) |
| OLD | NEW |