OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ | 5 #ifndef GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ |
6 #define GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ | 6 #define GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "gpu/gpu_export.h" | 10 #include "gpu/gpu_export.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 GPU_OP(DISABLE_GL_RGB_FORMAT, \ | 39 GPU_OP(DISABLE_GL_RGB_FORMAT, \ |
40 disable_gl_rgb_format) \ | 40 disable_gl_rgb_format) \ |
41 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ | 41 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ |
42 disable_multimonitor_multisampling) \ | 42 disable_multimonitor_multisampling) \ |
43 GPU_OP(DISABLE_MULTISAMPLED_RENDER_TO_TEXTURE, \ | 43 GPU_OP(DISABLE_MULTISAMPLED_RENDER_TO_TEXTURE, \ |
44 disable_multisampled_render_to_texture) \ | 44 disable_multisampled_render_to_texture) \ |
45 GPU_OP(DISABLE_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \ | 45 GPU_OP(DISABLE_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \ |
46 disable_post_sub_buffers_for_onscreen_surfaces) \ | 46 disable_post_sub_buffers_for_onscreen_surfaces) \ |
47 GPU_OP(DISABLE_PROGRAM_CACHE, \ | 47 GPU_OP(DISABLE_PROGRAM_CACHE, \ |
48 disable_program_cache) \ | 48 disable_program_cache) \ |
| 49 GPU_OP(DISABLE_TEXTURE_STORAGE, \ |
| 50 disable_texture_storage) \ |
49 GPU_OP(DISABLE_TIMESTAMP_QUERIES, \ | 51 GPU_OP(DISABLE_TIMESTAMP_QUERIES, \ |
50 disable_timestamp_queries) \ | 52 disable_timestamp_queries) \ |
51 GPU_OP(ETC1_POWER_OF_TWO_ONLY, \ | 53 GPU_OP(ETC1_POWER_OF_TWO_ONLY, \ |
52 etc1_power_of_two_only) \ | 54 etc1_power_of_two_only) \ |
53 GPU_OP(EXIT_ON_CONTEXT_LOST, \ | 55 GPU_OP(EXIT_ON_CONTEXT_LOST, \ |
54 exit_on_context_lost) \ | 56 exit_on_context_lost) \ |
55 GPU_OP(FORCE_CUBE_COMPLETE, \ | 57 GPU_OP(FORCE_CUBE_COMPLETE, \ |
56 force_cube_complete) \ | 58 force_cube_complete) \ |
57 GPU_OP(FORCE_CUBE_MAP_POSITIVE_X_ALLOCATION, \ | 59 GPU_OP(FORCE_CUBE_MAP_POSITIVE_X_ALLOCATION, \ |
58 force_cube_map_positive_x_allocation) \ | 60 force_cube_map_positive_x_allocation) \ |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 #undef GPU_OP | 148 #undef GPU_OP |
147 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES | 149 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES |
148 }; | 150 }; |
149 | 151 |
150 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( | 152 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( |
151 GpuDriverBugWorkaroundType type); | 153 GpuDriverBugWorkaroundType type); |
152 | 154 |
153 } // namespace gpu | 155 } // namespace gpu |
154 | 156 |
155 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ | 157 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ |
OLD | NEW |