| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 124 |
| 125 #if defined(OS_ANDROID) | 125 #if defined(OS_ANDROID) |
| 126 //------------------------------------------------------------------------------ | 126 //------------------------------------------------------------------------------ |
| 127 // Stream Texture Messages | 127 // Stream Texture Messages |
| 128 // Tells the GPU process create and send the java surface texture object to | 128 // Tells the GPU process create and send the java surface texture object to |
| 129 // the renderer process through the binder thread. | 129 // the renderer process through the binder thread. |
| 130 IPC_MESSAGE_ROUTED2(GpuStreamTextureMsg_EstablishPeer, | 130 IPC_MESSAGE_ROUTED2(GpuStreamTextureMsg_EstablishPeer, |
| 131 int32_t, /* primary_id */ | 131 int32_t, /* primary_id */ |
| 132 int32_t /* secondary_id */) | 132 int32_t /* secondary_id */) |
| 133 | 133 |
| 134 IPC_MESSAGE_ROUTED1(GpuStreamTextureMsg_RegisterStreamTexture, int32_t) |
| 135 |
| 134 // Tells the GPU process to set the size of StreamTexture from the given | 136 // Tells the GPU process to set the size of StreamTexture from the given |
| 135 // stream Id. | 137 // stream Id. |
| 136 IPC_MESSAGE_ROUTED1(GpuStreamTextureMsg_SetSize, gfx::Size /* size */) | 138 IPC_MESSAGE_ROUTED1(GpuStreamTextureMsg_SetSize, gfx::Size /* size */) |
| 137 | 139 |
| 138 // Tells the service-side instance to start sending frame available | 140 // Tells the service-side instance to start sending frame available |
| 139 // notifications. | 141 // notifications. |
| 140 IPC_MESSAGE_ROUTED0(GpuStreamTextureMsg_StartListening) | 142 IPC_MESSAGE_ROUTED0(GpuStreamTextureMsg_StartListening) |
| 141 | 143 |
| 142 // Inform the renderer that a new frame is available. | 144 // Inform the renderer that a new frame is available. |
| 143 IPC_MESSAGE_ROUTED0(GpuStreamTextureMsg_FrameAvailable) | 145 IPC_MESSAGE_ROUTED0(GpuStreamTextureMsg_FrameAvailable) |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 GpuCommandBufferMsg_CreateImage_Params /* params */) | 242 GpuCommandBufferMsg_CreateImage_Params /* params */) |
| 241 | 243 |
| 242 // Destroy a previously created image. | 244 // Destroy a previously created image. |
| 243 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) | 245 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) |
| 244 | 246 |
| 245 // Attaches an external image stream to the client texture. | 247 // Attaches an external image stream to the client texture. |
| 246 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, | 248 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, |
| 247 uint32_t, /* client_texture_id */ | 249 uint32_t, /* client_texture_id */ |
| 248 int32_t, /* stream_id */ | 250 int32_t, /* stream_id */ |
| 249 bool /* succeeded */) | 251 bool /* succeeded */) |
| OLD | NEW |