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

Side by Side Diff: content/common/gpu_host_messages.h

Issue 2753293003: gpu: Replace GpuMsg_CollectGraphicsInfo with mojom API. (Closed)
Patch Set: tot merge Created 3 years, 9 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 | « content/browser/gpu/gpu_process_host_ui_shim.cc ('k') | content/gpu/gpu_child_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "gpu/command_buffer/common/sync_token.h" 10 #include "gpu/command_buffer/common/sync_token.h"
(...skipping 27 matching lines...) Expand all
38 // Tells the GPU process to create a new gpu memory buffer. 38 // Tells the GPU process to create a new gpu memory buffer.
39 IPC_MESSAGE_CONTROL1(GpuMsg_CreateGpuMemoryBuffer, 39 IPC_MESSAGE_CONTROL1(GpuMsg_CreateGpuMemoryBuffer,
40 GpuMsg_CreateGpuMemoryBuffer_Params) 40 GpuMsg_CreateGpuMemoryBuffer_Params)
41 41
42 // Tells the GPU process to destroy buffer. 42 // Tells the GPU process to destroy buffer.
43 IPC_MESSAGE_CONTROL3(GpuMsg_DestroyGpuMemoryBuffer, 43 IPC_MESSAGE_CONTROL3(GpuMsg_DestroyGpuMemoryBuffer,
44 gfx::GpuMemoryBufferId, /* id */ 44 gfx::GpuMemoryBufferId, /* id */
45 int32_t, /* client_id */ 45 int32_t, /* client_id */
46 gpu::SyncToken /* sync_token */) 46 gpu::SyncToken /* sync_token */)
47 47
48 // Tells the GPU process to create a context for collecting graphics card
49 // information.
50 IPC_MESSAGE_CONTROL0(GpuMsg_CollectGraphicsInfo)
51
52 // Tells the GPU process that the browser has seen a GPU switch. 48 // Tells the GPU process that the browser has seen a GPU switch.
53 IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched) 49 IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched)
54 50
55 //------------------------------------------------------------------------------ 51 //------------------------------------------------------------------------------
56 // GPU Host Messages 52 // GPU Host Messages
57 // These are messages to the browser. 53 // These are messages to the browser.
58 54
59 // Response from GPU to a GputMsg_Initialize message. 55 // Response from GPU to a GputMsg_Initialize message.
60 IPC_MESSAGE_CONTROL3(GpuHostMsg_Initialized, 56 IPC_MESSAGE_CONTROL3(GpuHostMsg_Initialized,
61 bool /* result */, 57 bool /* result */,
62 ::gpu::GPUInfo /* gpu_info */, 58 ::gpu::GPUInfo /* gpu_info */,
63 ::gpu::GpuFeatureInfo /* gpu_feature_info */) 59 ::gpu::GpuFeatureInfo /* gpu_feature_info */)
64 60
65 // Response from GPU to a GpuMsg_CreateGpuMemoryBuffer message. 61 // Response from GPU to a GpuMsg_CreateGpuMemoryBuffer message.
66 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryBufferCreated, 62 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryBufferCreated,
67 gfx::GpuMemoryBufferHandle /* handle */) 63 gfx::GpuMemoryBufferHandle /* handle */)
68 64
69 // Response from GPU to a GpuMsg_CollectGraphicsInfo.
70 IPC_MESSAGE_CONTROL1(GpuHostMsg_GraphicsInfoCollected,
71 gpu::GPUInfo /* GPU logging stats */)
72
73 // Sent by the GPU process to indicate that a fields trial has been activated. 65 // Sent by the GPU process to indicate that a fields trial has been activated.
74 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */) 66 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */)
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host_ui_shim.cc ('k') | content/gpu/gpu_child_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698