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