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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 // The CommandBufferProxy sends this to the GpuCommandBufferStub in its | 110 // The CommandBufferProxy sends this to the GpuCommandBufferStub in its |
111 // destructor, so that the stub deletes the actual CommandBufferService | 111 // destructor, so that the stub deletes the actual CommandBufferService |
112 // object that it's hosting. | 112 // object that it's hosting. |
113 IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyCommandBuffer, | 113 IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyCommandBuffer, |
114 int32_t /* instance_id */) | 114 int32_t /* instance_id */) |
115 | 115 |
116 // Simple NOP message which can be used as fence to ensure all previous sent | 116 // Simple NOP message which can be used as fence to ensure all previous sent |
117 // messages have been received. | 117 // messages have been received. |
118 IPC_SYNC_MESSAGE_CONTROL0_0(GpuChannelMsg_Nop) | 118 IPC_SYNC_MESSAGE_CONTROL0_0(GpuChannelMsg_Nop) |
119 | 119 |
| 120 // Retrieve the current list of gpu driver workarounds effectively running on |
| 121 // the gpu process. |
| 122 IPC_SYNC_MESSAGE_CONTROL0_1(GpuChannelMsg_GetDriverBugWorkArounds, |
| 123 std::vector<std::string> /* workarounds */) |
| 124 |
120 #if defined(OS_ANDROID) | 125 #if defined(OS_ANDROID) |
121 //------------------------------------------------------------------------------ | 126 //------------------------------------------------------------------------------ |
122 // Stream Texture Messages | 127 // Stream Texture Messages |
123 // 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 |
124 // the renderer process through the binder thread. | 129 // the renderer process through the binder thread. |
125 IPC_MESSAGE_ROUTED2(GpuStreamTextureMsg_EstablishPeer, | 130 IPC_MESSAGE_ROUTED2(GpuStreamTextureMsg_EstablishPeer, |
126 int32_t, /* primary_id */ | 131 int32_t, /* primary_id */ |
127 int32_t /* secondary_id */) | 132 int32_t /* secondary_id */) |
128 | 133 |
129 // Tells the GPU process to set the size of StreamTexture from the given | 134 // Tells the GPU process to set the size of StreamTexture from the given |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 GpuCommandBufferMsg_CreateImage_Params /* params */) | 239 GpuCommandBufferMsg_CreateImage_Params /* params */) |
235 | 240 |
236 // Destroy a previously created image. | 241 // Destroy a previously created image. |
237 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) | 242 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) |
238 | 243 |
239 // Attaches an external image stream to the client texture. | 244 // Attaches an external image stream to the client texture. |
240 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, | 245 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, |
241 uint32_t, /* client_texture_id */ | 246 uint32_t, /* client_texture_id */ |
242 int32_t, /* stream_id */ | 247 int32_t, /* stream_id */ |
243 bool /* succeeded */) | 248 bool /* succeeded */) |
OLD | NEW |