| 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/hash_tables.h" | 10 #include "base/hash_tables.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 bool angle_pack_reverse_row_order; | 37 bool angle_pack_reverse_row_order; |
| 38 bool arb_texture_rectangle; | 38 bool arb_texture_rectangle; |
| 39 bool angle_instanced_arrays; | 39 bool angle_instanced_arrays; |
| 40 bool occlusion_query_boolean; | 40 bool occlusion_query_boolean; |
| 41 bool use_arb_occlusion_query2_for_occlusion_query_boolean; | 41 bool use_arb_occlusion_query2_for_occlusion_query_boolean; |
| 42 bool use_arb_occlusion_query_for_occlusion_query_boolean; | 42 bool use_arb_occlusion_query_for_occlusion_query_boolean; |
| 43 bool native_vertex_array_object; | 43 bool native_vertex_array_object; |
| 44 bool enable_shader_name_hashing; | 44 bool enable_shader_name_hashing; |
| 45 bool enable_samplers; | 45 bool enable_samplers; |
| 46 bool ext_draw_buffers; | 46 bool ext_draw_buffers; |
| 47 bool ext_frag_depth; |
| 47 }; | 48 }; |
| 48 | 49 |
| 49 struct Workarounds { | 50 struct Workarounds { |
| 50 Workarounds(); | 51 Workarounds(); |
| 51 | 52 |
| 52 #define GPU_OP(type, name) bool name; | 53 #define GPU_OP(type, name) bool name; |
| 53 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) | 54 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) |
| 54 #undef GPU_OP | 55 #undef GPU_OP |
| 55 | 56 |
| 56 // Note: 0 here means use driver limit. | 57 // Note: 0 here means use driver limit. |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 // Flags for Workarounds. | 115 // Flags for Workarounds. |
| 115 Workarounds workarounds_; | 116 Workarounds workarounds_; |
| 116 | 117 |
| 117 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); | 118 DISALLOW_COPY_AND_ASSIGN(FeatureInfo); |
| 118 }; | 119 }; |
| 119 | 120 |
| 120 } // namespace gles2 | 121 } // namespace gles2 |
| 121 } // namespace gpu | 122 } // namespace gpu |
| 122 | 123 |
| 123 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ | 124 #endif // GPU_COMMAND_BUFFER_SERVICE_FEATURE_INFO_H_ |
| OLD | NEW |