| 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> |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 #include "ui/events/latency_info.h" | 31 #include "ui/events/latency_info.h" |
| 32 #include "ui/gfx/geometry/size.h" | 32 #include "ui/gfx/geometry/size.h" |
| 33 #include "ui/gfx/gpu_memory_buffer.h" | 33 #include "ui/gfx/gpu_memory_buffer.h" |
| 34 #include "ui/gfx/ipc/gfx_param_traits.h" | 34 #include "ui/gfx/ipc/gfx_param_traits.h" |
| 35 #include "ui/gfx/native_widget_types.h" | 35 #include "ui/gfx/native_widget_types.h" |
| 36 #include "ui/gfx/swap_result.h" | 36 #include "ui/gfx/swap_result.h" |
| 37 #include "ui/gl/gpu_preference.h" | 37 #include "ui/gl/gpu_preference.h" |
| 38 #include "url/ipc/url_param_traits.h" | 38 #include "url/ipc/url_param_traits.h" |
| 39 | 39 |
| 40 #if defined(OS_ANDROID) | 40 #if defined(OS_ANDROID) |
| 41 #include "content/common/android/surface_texture_peer.h" | 41 #include "gpu/ipc/common/android/surface_texture_peer.h" |
| 42 #elif defined(OS_MACOSX) | 42 #elif defined(OS_MACOSX) |
| 43 #include "ui/base/cocoa/remote_layer_api.h" | 43 #include "ui/base/cocoa/remote_layer_api.h" |
| 44 #include "ui/gfx/mac/io_surface.h" | 44 #include "ui/gfx/mac/io_surface.h" |
| 45 #endif | 45 #endif |
| 46 | 46 |
| 47 #undef IPC_MESSAGE_EXPORT | 47 #undef IPC_MESSAGE_EXPORT |
| 48 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 48 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 49 | 49 |
| 50 #define IPC_MESSAGE_START GpuChannelMsgStart | 50 #define IPC_MESSAGE_START GpuChannelMsgStart |
| 51 | 51 |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 GpuCommandBufferMsg_CreateImage_Params /* params */) | 323 GpuCommandBufferMsg_CreateImage_Params /* params */) |
| 324 | 324 |
| 325 // Destroy a previously created image. | 325 // Destroy a previously created image. |
| 326 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) | 326 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) |
| 327 | 327 |
| 328 // Attaches an external image stream to the client texture. | 328 // Attaches an external image stream to the client texture. |
| 329 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, | 329 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, |
| 330 uint32_t, /* client_texture_id */ | 330 uint32_t, /* client_texture_id */ |
| 331 int32_t, /* stream_id */ | 331 int32_t, /* stream_id */ |
| 332 bool /* succeeded */) | 332 bool /* succeeded */) |
| OLD | NEW |