OLD | NEW |
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 <string> | 8 #include <string> |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 FeatureFlags feature_flags_; | 187 FeatureFlags feature_flags_; |
188 | 188 |
189 // Flags for Workarounds. | 189 // Flags for Workarounds. |
190 Workarounds workarounds_; | 190 Workarounds workarounds_; |
191 | 191 |
192 // Whether the command line switch kEnableUnsafeES3APIs is passed in. | 192 // Whether the command line switch kEnableUnsafeES3APIs is passed in. |
193 bool enable_unsafe_es3_apis_switch_; | 193 bool enable_unsafe_es3_apis_switch_; |
194 | 194 |
195 bool unsafe_es3_apis_enabled_; | 195 bool unsafe_es3_apis_enabled_; |
196 | 196 |
197 // Whether the command line switch kEnableGLPathRendering is passed in. | |
198 bool enable_gl_path_rendering_switch_; | |
199 | |
200 bool chromium_color_buffer_float_rgba_available_; | 197 bool chromium_color_buffer_float_rgba_available_; |
201 bool chromium_color_buffer_float_rgb_available_; | 198 bool chromium_color_buffer_float_rgb_available_; |
202 bool ext_color_buffer_float_available_; | 199 bool ext_color_buffer_float_available_; |
203 bool oes_texture_float_linear_available_; | 200 bool oes_texture_float_linear_available_; |
204 bool oes_texture_half_float_linear_available_; | 201 bool oes_texture_half_float_linear_available_; |
205 | 202 |
206 bool disable_shader_translator_; | 203 bool disable_shader_translator_; |
207 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; | 204 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; |
208 | 205 |
209 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 206 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
210 }; | 207 }; |
211 | 208 |
212 } // namespace gles2 | 209 } // namespace gles2 |
213 } // namespace gpu | 210 } // namespace gpu |
214 | 211 |
215 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 212 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
OLD | NEW |