| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 bool ext_draw_buffers; | 60 bool ext_draw_buffers; |
| 61 bool ext_frag_depth; | 61 bool ext_frag_depth; |
| 62 bool use_async_readpixels; | 62 bool use_async_readpixels; |
| 63 bool map_buffer_range; | 63 bool map_buffer_range; |
| 64 bool ext_discard_framebuffer; | 64 bool ext_discard_framebuffer; |
| 65 bool angle_depth_texture; | 65 bool angle_depth_texture; |
| 66 bool is_angle; | 66 bool is_angle; |
| 67 bool is_swiftshader; | 67 bool is_swiftshader; |
| 68 bool angle_texture_usage; | 68 bool angle_texture_usage; |
| 69 bool ext_texture_storage; | 69 bool ext_texture_storage; |
| 70 bool arb_sync; |
| 70 }; | 71 }; |
| 71 | 72 |
| 72 struct Workarounds { | 73 struct Workarounds { |
| 73 Workarounds(); | 74 Workarounds(); |
| 74 | 75 |
| 75 #define GPU_OP(type, name) bool name; | 76 #define GPU_OP(type, name) bool name; |
| 76 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) | 77 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) |
| 77 #undef GPU_OP | 78 #undef GPU_OP |
| 78 | 79 |
| 79 // Note: 0 here means use driver limit. | 80 // Note: 0 here means use driver limit. |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 // Flags for Workarounds. | 138 // Flags for Workarounds. |
| 138 Workarounds workarounds_; | 139 Workarounds workarounds_; |
| 139 | 140 |
| 140 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 141 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
| 141 }; | 142 }; |
| 142 | 143 |
| 143 } // namespace gles2 | 144 } // namespace gles2 |
| 144 } // namespace gpu | 145 } // namespace gpu |
| 145 | 146 |
| 146 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 147 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
| OLD | NEW |