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

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

Issue 2670213005: Hook ANGLE_request_extension up to the passthrough cmd decoder. (Closed)
Patch Set: Fix extension check. 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
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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 bool desktop_srgb_support; 94 bool desktop_srgb_support;
95 bool arb_es3_compatibility; 95 bool arb_es3_compatibility;
96 bool chromium_color_buffer_float_rgb = false; 96 bool chromium_color_buffer_float_rgb = false;
97 bool chromium_color_buffer_float_rgba = false; 97 bool chromium_color_buffer_float_rgba = false;
98 bool angle_robust_client_memory = false; 98 bool angle_robust_client_memory = false;
99 bool khr_debug = false; 99 bool khr_debug = false;
100 bool chromium_bind_generates_resource = false; 100 bool chromium_bind_generates_resource = false;
101 bool angle_webgl_compatibility = false; 101 bool angle_webgl_compatibility = false;
102 bool ext_srgb_write_control = false; 102 bool ext_srgb_write_control = false;
103 bool ext_srgb = false; 103 bool ext_srgb = false;
104 bool angle_request_extension = false;
104 }; 105 };
105 106
106 FeatureInfo(); 107 FeatureInfo();
107 108
108 // Constructor with workarounds taken from the current process's CommandLine 109 // Constructor with workarounds taken from the current process's CommandLine
109 explicit FeatureInfo( 110 explicit FeatureInfo(
110 const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds); 111 const GpuDriverBugWorkarounds& gpu_driver_bug_workarounds);
111 112
112 // Constructor with workarounds taken from |command_line|. 113 // Constructor with workarounds taken from |command_line|.
113 FeatureInfo(const base::CommandLine& command_line, 114 FeatureInfo(const base::CommandLine& command_line,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 bool disable_shader_translator_; 205 bool disable_shader_translator_;
205 std::unique_ptr<gl::GLVersionInfo> gl_version_info_; 206 std::unique_ptr<gl::GLVersionInfo> gl_version_info_;
206 207
207 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); 208 DISALLOW_COPY_AND_ASSIGN(FeatureInfo);
208 }; 209 };
209 210
210 } // namespace gles2 211 } // namespace gles2
211 } // namespace gpu 212 } // namespace gpu
212 213
213 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ 214 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698