| 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 FeatureFlags feature_flags_; | 177 FeatureFlags feature_flags_; |
| 178 | 178 |
| 179 // Flags for Workarounds. | 179 // Flags for Workarounds. |
| 180 Workarounds workarounds_; | 180 Workarounds workarounds_; |
| 181 | 181 |
| 182 // Whether the command line switch kEnableUnsafeES3APIs is passed in. | 182 // Whether the command line switch kEnableUnsafeES3APIs is passed in. |
| 183 bool enable_unsafe_es3_apis_switch_; | 183 bool enable_unsafe_es3_apis_switch_; |
| 184 | 184 |
| 185 bool unsafe_es3_apis_enabled_; | 185 bool unsafe_es3_apis_enabled_; |
| 186 | 186 |
| 187 // Whether the command line switch kEnableGLPathRendering is passed in. |
| 188 bool enable_gl_path_rendering_switch_; |
| 189 |
| 187 bool disable_shader_translator_; | 190 bool disable_shader_translator_; |
| 188 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; | 191 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; |
| 189 | 192 |
| 190 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 193 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
| 191 }; | 194 }; |
| 192 | 195 |
| 193 } // namespace gles2 | 196 } // namespace gles2 |
| 194 } // namespace gpu | 197 } // namespace gpu |
| 195 | 198 |
| 196 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 199 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
| OLD | NEW |