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

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

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: fix win clang build Created 3 years, 10 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/ipc/common/gpu_command_buffer_traits_multi.h ('k') | gpu/ipc/in_process_command_buffer.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 #ifndef GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_ 5 #ifndef GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_
6 #define GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_ 6 #define GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_
7 7
8 #include "gpu/command_buffer/common/constants.h" 8 #include "gpu/command_buffer/common/constants.h"
9 #include "gpu/command_buffer/common/gpu_memory_allocation.h" 9 #include "gpu/command_buffer/common/gpu_memory_allocation.h"
10 #include "gpu/config/gpu_feature_info.h"
10 #include "gpu/config/gpu_info.h" 11 #include "gpu/config/gpu_info.h"
11 #include "gpu/gpu_export.h" 12 #include "gpu/gpu_export.h"
12 #include "gpu/ipc/common/gpu_stream_constants.h" 13 #include "gpu/ipc/common/gpu_stream_constants.h"
13 #include "ipc/ipc_message_macros.h" 14 #include "ipc/ipc_message_macros.h"
14 #include "ui/gfx/ipc/geometry/gfx_param_traits.h" 15 #include "ui/gfx/ipc/geometry/gfx_param_traits.h"
15 #include "ui/gfx/ipc/gfx_param_traits.h" 16 #include "ui/gfx/ipc/gfx_param_traits.h"
16 #include "url/ipc/url_param_traits.h" 17 #include "url/ipc/url_param_traits.h"
17 18
18 #undef IPC_MESSAGE_EXPORT 19 #undef IPC_MESSAGE_EXPORT
19 #define IPC_MESSAGE_EXPORT GPU_EXPORT 20 #define IPC_MESSAGE_EXPORT GPU_EXPORT
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 IPC_STRUCT_TRAITS_MEMBER(system_visual) 106 IPC_STRUCT_TRAITS_MEMBER(system_visual)
106 IPC_STRUCT_TRAITS_MEMBER(rgba_visual) 107 IPC_STRUCT_TRAITS_MEMBER(rgba_visual)
107 #endif 108 #endif
108 IPC_STRUCT_TRAITS_END() 109 IPC_STRUCT_TRAITS_END()
109 110
110 IPC_STRUCT_TRAITS_BEGIN(gpu::MemoryAllocation) 111 IPC_STRUCT_TRAITS_BEGIN(gpu::MemoryAllocation)
111 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_visible) 112 IPC_STRUCT_TRAITS_MEMBER(bytes_limit_when_visible)
112 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_visible) 113 IPC_STRUCT_TRAITS_MEMBER(priority_cutoff_when_visible)
113 IPC_STRUCT_TRAITS_END() 114 IPC_STRUCT_TRAITS_END()
114 115
116 IPC_ENUM_TRAITS_MAX_VALUE(gpu::GpuFeatureStatus, gpu::kGpuFeatureStatusMax)
117
118 IPC_STRUCT_TRAITS_BEGIN(gpu::GpuFeatureInfo)
119 IPC_STRUCT_TRAITS_MEMBER(status_values)
120 IPC_STRUCT_TRAITS_END()
121
115 #endif // GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_ 122 #endif // GPU_IPC_COMMON_GPU_PARAM_TRAITS_MACROS_H_
OLDNEW
« no previous file with comments | « gpu/ipc/common/gpu_command_buffer_traits_multi.h ('k') | gpu/ipc/in_process_command_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698