| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 bool angle_depth_texture; | 72 bool angle_depth_texture; |
| 73 bool is_swiftshader; | 73 bool is_swiftshader; |
| 74 bool angle_texture_usage; | 74 bool angle_texture_usage; |
| 75 bool ext_texture_storage; | 75 bool ext_texture_storage; |
| 76 bool chromium_path_rendering; | 76 bool chromium_path_rendering; |
| 77 bool blend_equation_advanced; | 77 bool blend_equation_advanced; |
| 78 bool blend_equation_advanced_coherent; | 78 bool blend_equation_advanced_coherent; |
| 79 bool ext_texture_rg; | 79 bool ext_texture_rg; |
| 80 bool enable_subscribe_uniform; | 80 bool enable_subscribe_uniform; |
| 81 bool emulate_primitive_restart_fixed_index; | 81 bool emulate_primitive_restart_fixed_index; |
| 82 bool ext_render_buffer_format_bgra8888; |
| 82 }; | 83 }; |
| 83 | 84 |
| 84 struct Workarounds { | 85 struct Workarounds { |
| 85 Workarounds(); | 86 Workarounds(); |
| 86 | 87 |
| 87 #define GPU_OP(type, name) bool name; | 88 #define GPU_OP(type, name) bool name; |
| 88 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) | 89 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) |
| 89 #undef GPU_OP | 90 #undef GPU_OP |
| 90 | 91 |
| 91 // Note: 0 here means use driver limit. | 92 // Note: 0 here means use driver limit. |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 | 165 |
| 165 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; | 166 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; |
| 166 | 167 |
| 167 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 168 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
| 168 }; | 169 }; |
| 169 | 170 |
| 170 } // namespace gles2 | 171 } // namespace gles2 |
| 171 } // namespace gpu | 172 } // namespace gpu |
| 172 | 173 |
| 173 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 174 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
| OLD | NEW |