Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Side by Side Diff: gpu/ipc/common/gpu_messages.h

Issue 1463823002: Add DriverBugWorkaroundsInGpuProcessPage to gpu_process_test.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: To fix win bot failure, call IdentifyActiveGPU when receiving GpuInfi back from the GPU process thr… Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/config/gpu_info_collector.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // The CommandBufferProxy sends this to the GpuCommandBufferStub in its 89 // The CommandBufferProxy sends this to the GpuCommandBufferStub in its
90 // destructor, so that the stub deletes the actual CommandBufferService 90 // destructor, so that the stub deletes the actual CommandBufferService
91 // object that it's hosting. 91 // object that it's hosting.
92 IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyCommandBuffer, 92 IPC_SYNC_MESSAGE_CONTROL1_0(GpuChannelMsg_DestroyCommandBuffer,
93 int32_t /* instance_id */) 93 int32_t /* instance_id */)
94 94
95 // Simple NOP message which can be used as fence to ensure all previous sent 95 // Simple NOP message which can be used as fence to ensure all previous sent
96 // messages have been received. 96 // messages have been received.
97 IPC_SYNC_MESSAGE_CONTROL0_0(GpuChannelMsg_Nop) 97 IPC_SYNC_MESSAGE_CONTROL0_0(GpuChannelMsg_Nop)
98 98
99 // Retrieve the current list of gpu driver workarounds effectively running on
100 // the gpu process.
101 IPC_SYNC_MESSAGE_CONTROL0_1(GpuChannelMsg_GetDriverBugWorkArounds,
102 std::vector<std::string> /* workarounds */)
103
99 #if defined(OS_ANDROID) 104 #if defined(OS_ANDROID)
100 //------------------------------------------------------------------------------ 105 //------------------------------------------------------------------------------
101 // Stream Texture Messages 106 // Stream Texture Messages
102 // Tells the GPU process create and send the java surface texture object to 107 // Tells the GPU process create and send the java surface texture object to
103 // the renderer process through the binder thread. 108 // the renderer process through the binder thread.
104 IPC_MESSAGE_ROUTED2(GpuStreamTextureMsg_EstablishPeer, 109 IPC_MESSAGE_ROUTED2(GpuStreamTextureMsg_EstablishPeer,
105 int32_t, /* primary_id */ 110 int32_t, /* primary_id */
106 int32_t /* secondary_id */) 111 int32_t /* secondary_id */)
107 112
108 // Tells the GPU process to set the size of StreamTexture from the given 113 // Tells the GPU process to set the size of StreamTexture from the given
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 GpuCommandBufferMsg_CreateImage_Params /* params */) 214 GpuCommandBufferMsg_CreateImage_Params /* params */)
210 215
211 // Destroy a previously created image. 216 // Destroy a previously created image.
212 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */) 217 IPC_MESSAGE_ROUTED1(GpuCommandBufferMsg_DestroyImage, int32_t /* id */)
213 218
214 // Attaches an external image stream to the client texture. 219 // Attaches an external image stream to the client texture.
215 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture, 220 IPC_SYNC_MESSAGE_ROUTED2_1(GpuCommandBufferMsg_CreateStreamTexture,
216 uint32_t, /* client_texture_id */ 221 uint32_t, /* client_texture_id */
217 int32_t, /* stream_id */ 222 int32_t, /* stream_id */
218 bool /* succeeded */) 223 bool /* succeeded */)
OLDNEW
« no previous file with comments | « gpu/config/gpu_info_collector.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698