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

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

Issue 2777973002: gpu: Replace GpuHostMsg_Initialized with mojom api. (Closed)
Patch Set: Created 3 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 | « content/browser/gpu/gpu_process_host.cc ('k') | content/gpu/gpu_child_thread.cc » ('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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 that the browser has seen a GPU switch. 48 // Tells the GPU process that the browser has seen a GPU switch.
49 IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched) 49 IPC_MESSAGE_CONTROL0(GpuMsg_GpuSwitched)
50 50
51 //------------------------------------------------------------------------------ 51 //------------------------------------------------------------------------------
52 // GPU Host Messages 52 // GPU Host Messages
53 // These are messages to the browser. 53 // These are messages to the browser.
54 54
55 // Response from GPU to a GputMsg_Initialize message.
56 IPC_MESSAGE_CONTROL3(GpuHostMsg_Initialized,
57 bool /* result */,
58 ::gpu::GPUInfo /* gpu_info */,
59 ::gpu::GpuFeatureInfo /* gpu_feature_info */)
60
61 // Response from GPU to a GpuMsg_CreateGpuMemoryBuffer message. 55 // Response from GPU to a GpuMsg_CreateGpuMemoryBuffer message.
62 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryBufferCreated, 56 IPC_MESSAGE_CONTROL1(GpuHostMsg_GpuMemoryBufferCreated,
63 gfx::GpuMemoryBufferHandle /* handle */) 57 gfx::GpuMemoryBufferHandle /* handle */)
64 58
65 // Sent by the GPU process to indicate that a fields trial has been activated. 59 // Sent by the GPU process to indicate that a fields trial has been activated.
66 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */) 60 IPC_MESSAGE_CONTROL1(GpuHostMsg_FieldTrialActivated, std::string /* name */)
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698