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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 bool ext_discard_framebuffer; | 71 bool ext_discard_framebuffer; |
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 }; | 82 }; |
82 | 83 |
83 struct Workarounds { | 84 struct Workarounds { |
84 Workarounds(); | 85 Workarounds(); |
85 | 86 |
86 #define GPU_OP(type, name) bool name; | 87 #define GPU_OP(type, name) bool name; |
87 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) | 88 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) |
88 #undef GPU_OP | 89 #undef GPU_OP |
89 | 90 |
90 // Note: 0 here means use driver limit. | 91 // Note: 0 here means use driver limit. |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 | 162 |
162 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; | 163 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; |
163 | 164 |
164 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 165 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
165 }; | 166 }; |
166 | 167 |
167 } // namespace gles2 | 168 } // namespace gles2 |
168 } // namespace gpu | 169 } // namespace gpu |
169 | 170 |
170 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 171 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
OLD | NEW |