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 30 matching lines...) Expand all Loading... |
41 bool arb_texture_rectangle; | 41 bool arb_texture_rectangle; |
42 bool angle_instanced_arrays; | 42 bool angle_instanced_arrays; |
43 bool occlusion_query_boolean; | 43 bool occlusion_query_boolean; |
44 bool use_arb_occlusion_query2_for_occlusion_query_boolean; | 44 bool use_arb_occlusion_query2_for_occlusion_query_boolean; |
45 bool use_arb_occlusion_query_for_occlusion_query_boolean; | 45 bool use_arb_occlusion_query_for_occlusion_query_boolean; |
46 bool native_vertex_array_object; | 46 bool native_vertex_array_object; |
47 bool enable_shader_name_hashing; | 47 bool enable_shader_name_hashing; |
48 bool enable_samplers; | 48 bool enable_samplers; |
49 bool ext_draw_buffers; | 49 bool ext_draw_buffers; |
50 bool ext_frag_depth; | 50 bool ext_frag_depth; |
| 51 bool use_async_readpixels; |
51 }; | 52 }; |
52 | 53 |
53 struct Workarounds { | 54 struct Workarounds { |
54 Workarounds(); | 55 Workarounds(); |
55 | 56 |
56 #define GPU_OP(type, name) bool name; | 57 #define GPU_OP(type, name) bool name; |
57 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) | 58 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) |
58 #undef GPU_OP | 59 #undef GPU_OP |
59 | 60 |
60 // Note: 0 here means use driver limit. | 61 // Note: 0 here means use driver limit. |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 // Flags for Workarounds. | 119 // Flags for Workarounds. |
119 Workarounds workarounds_; | 120 Workarounds workarounds_; |
120 | 121 |
121 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 122 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
122 }; | 123 }; |
123 | 124 |
124 } // namespace gles2 | 125 } // namespace gles2 |
125 } // namespace gpu | 126 } // namespace gpu |
126 | 127 |
127 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 128 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
OLD | NEW |