| 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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 bool use_async_readpixels; | 64 bool use_async_readpixels; |
| 65 bool map_buffer_range; | 65 bool map_buffer_range; |
| 66 bool ext_discard_framebuffer; | 66 bool ext_discard_framebuffer; |
| 67 bool angle_depth_texture; | 67 bool angle_depth_texture; |
| 68 bool is_angle; | 68 bool is_angle; |
| 69 bool is_swiftshader; | 69 bool is_swiftshader; |
| 70 bool angle_texture_usage; | 70 bool angle_texture_usage; |
| 71 bool ext_texture_storage; | 71 bool ext_texture_storage; |
| 72 bool chromium_path_rendering; | 72 bool chromium_path_rendering; |
| 73 bool ext_blend_minmax; | 73 bool ext_blend_minmax; |
| 74 bool blend_equation_advanced; |
| 75 bool blend_equation_advanced_coherent; |
| 74 }; | 76 }; |
| 75 | 77 |
| 76 struct Workarounds { | 78 struct Workarounds { |
| 77 Workarounds(); | 79 Workarounds(); |
| 78 | 80 |
| 79 #define GPU_OP(type, name) bool name; | 81 #define GPU_OP(type, name) bool name; |
| 80 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) | 82 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) |
| 81 #undef GPU_OP | 83 #undef GPU_OP |
| 82 | 84 |
| 83 // Note: 0 here means use driver limit. | 85 // Note: 0 here means use driver limit. |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 // Flags for Workarounds. | 146 // Flags for Workarounds. |
| 145 Workarounds workarounds_; | 147 Workarounds workarounds_; |
| 146 | 148 |
| 147 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 149 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
| 148 }; | 150 }; |
| 149 | 151 |
| 150 } // namespace gles2 | 152 } // namespace gles2 |
| 151 } // namespace gpu | 153 } // namespace gpu |
| 152 | 154 |
| 153 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 155 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
| OLD | NEW |