| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 bool map_buffer_range; | 72 bool map_buffer_range; |
| 73 bool ext_discard_framebuffer; | 73 bool ext_discard_framebuffer; |
| 74 bool angle_depth_texture; | 74 bool angle_depth_texture; |
| 75 bool is_swiftshader; | 75 bool is_swiftshader; |
| 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 enable_subscribe_uniform; | 83 bool enable_subscribe_uniform; |
| 83 bool emulate_primitive_restart_fixed_index; | 84 bool emulate_primitive_restart_fixed_index; |
| 84 bool ext_render_buffer_format_bgra8888; | 85 bool ext_render_buffer_format_bgra8888; |
| 85 }; | 86 }; |
| 86 | 87 |
| 87 struct Workarounds { | 88 struct Workarounds { |
| 88 Workarounds(); | 89 Workarounds(); |
| 89 | 90 |
| 90 #define GPU_OP(type, name) bool name; | 91 #define GPU_OP(type, name) bool name; |
| 91 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) | 92 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 | 172 |
| 172 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; | 173 scoped_ptr<gfx::GLVersionInfo> gl_version_info_; |
| 173 | 174 |
| 174 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 175 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
| 175 }; | 176 }; |
| 176 | 177 |
| 177 } // namespace gles2 | 178 } // namespace gles2 |
| 178 } // namespace gpu | 179 } // namespace gpu |
| 179 | 180 |
| 180 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 181 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
| OLD | NEW |