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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 bool angle_texture_usage; | 77 bool angle_texture_usage; |
78 bool ext_texture_storage; | 78 bool ext_texture_storage; |
79 bool chromium_path_rendering; | 79 bool chromium_path_rendering; |
80 bool blend_equation_advanced; | 80 bool blend_equation_advanced; |
81 bool blend_equation_advanced_coherent; | 81 bool blend_equation_advanced_coherent; |
82 bool ext_texture_rg; | 82 bool ext_texture_rg; |
83 bool chromium_image_ycbcr_422; | 83 bool chromium_image_ycbcr_422; |
84 bool enable_subscribe_uniform; | 84 bool enable_subscribe_uniform; |
85 bool emulate_primitive_restart_fixed_index; | 85 bool emulate_primitive_restart_fixed_index; |
86 bool ext_render_buffer_format_bgra8888; | 86 bool ext_render_buffer_format_bgra8888; |
| 87 bool ext_blend_func_extended; |
87 }; | 88 }; |
88 | 89 |
89 struct Workarounds { | 90 struct Workarounds { |
90 Workarounds(); | 91 Workarounds(); |
91 | 92 |
92 #define GPU_OP(type, name) bool name; | 93 #define GPU_OP(type, name) bool name; |
93 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) | 94 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) |
94 #undef GPU_OP | 95 #undef GPU_OP |
95 | 96 |
96 // Note: 0 here means use driver limit. | 97 // Note: 0 here means use driver limit. |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 | 174 |
174 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; | 175 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; |
175 | 176 |
176 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 177 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
177 }; | 178 }; |
178 | 179 |
179 } // namespace gles2 | 180 } // namespace gles2 |
180 } // namespace gpu | 181 } // namespace gpu |
181 | 182 |
182 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 183 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
OLD | NEW |