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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include "base/containers/hash_tables.h" | 10 #include "base/containers/hash_tables.h" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 FeatureFlags feature_flags_; | 157 FeatureFlags feature_flags_; |
158 | 158 |
159 // Flags for Workarounds. | 159 // Flags for Workarounds. |
160 Workarounds workarounds_; | 160 Workarounds workarounds_; |
161 | 161 |
162 // Whether the command line switch kEnableUnsafeES3APIs is passed in. | 162 // Whether the command line switch kEnableUnsafeES3APIs is passed in. |
163 bool enable_unsafe_es3_apis_switch_; | 163 bool enable_unsafe_es3_apis_switch_; |
164 | 164 |
165 bool unsafe_es3_apis_enabled_; | 165 bool unsafe_es3_apis_enabled_; |
166 | 166 |
| 167 // Whether the command line switch kEnableGLPathRendering is passed in. |
| 168 bool enable_gl_path_rendering_switch_; |
| 169 |
167 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; | 170 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; |
168 | 171 |
169 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 172 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
170 }; | 173 }; |
171 | 174 |
172 } // namespace gles2 | 175 } // namespace gles2 |
173 } // namespace gpu | 176 } // namespace gpu |
174 | 177 |
175 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 178 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
OLD | NEW |