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

Side by Side Diff: gpu/command_buffer/service/feature_info.h

Issue 2497503004: Revert of Refactor context creation parameters into a struct. (Closed)
Patch Set: Created 4 years, 1 month 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/command_buffer/service/BUILD.gn ('k') | gpu/command_buffer/service/feature_info.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 (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 #ifndef GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 bool ext_render_buffer_format_bgra8888; 89 bool ext_render_buffer_format_bgra8888;
90 bool ext_multisample_compatibility; 90 bool ext_multisample_compatibility;
91 bool ext_blend_func_extended; 91 bool ext_blend_func_extended;
92 bool ext_read_format_bgra; 92 bool ext_read_format_bgra;
93 bool desktop_srgb_support; 93 bool desktop_srgb_support;
94 bool arb_es3_compatibility; 94 bool arb_es3_compatibility;
95 bool chromium_color_buffer_float_rgb = false; 95 bool chromium_color_buffer_float_rgb = false;
96 bool chromium_color_buffer_float_rgba = false; 96 bool chromium_color_buffer_float_rgba = false;
97 bool angle_robust_client_memory = false; 97 bool angle_robust_client_memory = false;
98 bool khr_debug = false; 98 bool khr_debug = false;
99 bool chromium_bind_generates_resource = false;
100 bool angle_webgl_compatibility = false;
101 }; 99 };
102 100
103 FeatureInfo(); 101 FeatureInfo();
104 102
105 // Constructor with workarounds taken from the current process's CommandLine 103 // Constructor with workarounds taken from the current process's CommandLine
106 explicit FeatureInfo( 104 explicit FeatureInfo(
107 const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds); 105 const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds);
108 106
109 // Constructor with workarounds taken from |command_line|. 107 // Constructor with workarounds taken from |command_line|.
110 FeatureInfo(const base::CommandLine& command_line, 108 FeatureInfo(const base::CommandLine& command_line,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 bool disable_shader_translator_; 199 bool disable_shader_translator_;
202 std::unique_ptr<gl::GLVersionInfo> gl_version_info_; 200 std::unique_ptr<gl::GLVersionInfo> gl_version_info_;
203 201
204 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); 202 DISALLOW_COPY_AND_ASSIGN(FeatureInfo);
205 }; 203 };
206 204
207 } // namespace gles2 205 } // namespace gles2
208 } // namespace gpu 206 } // namespace gpu
209 207
210 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 208 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/BUILD.gn ('k') | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698