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 18 matching lines...) Expand all Loading... |
29 GPU_OP(DISABLE_EXT_DRAW_BUFFERS, \ | 29 GPU_OP(DISABLE_EXT_DRAW_BUFFERS, \ |
30 disable_ext_draw_buffers) \ | 30 disable_ext_draw_buffers) \ |
31 GPU_OP(DISABLE_EXT_OCCLUSION_QUERY, \ | 31 GPU_OP(DISABLE_EXT_OCCLUSION_QUERY, \ |
32 disable_ext_occlusion_query) \ | 32 disable_ext_occlusion_query) \ |
33 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ | 33 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ |
34 disable_multimonitor_multisampling) \ | 34 disable_multimonitor_multisampling) \ |
35 GPU_OP(DISABLE_MULTISAMPLING, \ | 35 GPU_OP(DISABLE_MULTISAMPLING, \ |
36 disable_multisampling) \ | 36 disable_multisampling) \ |
37 GPU_OP(DISABLE_OES_STANDARD_DERIVATIVES, \ | 37 GPU_OP(DISABLE_OES_STANDARD_DERIVATIVES, \ |
38 disable_oes_standard_derivatives) \ | 38 disable_oes_standard_derivatives) \ |
| 39 GPU_OP(DISABLE_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \ |
| 40 disable_post_sub_buffers_for_onscreen_surfaces) \ |
39 GPU_OP(ENABLE_CHROMIUM_FAST_NPOT_MO8_TEXTURES, \ | 41 GPU_OP(ENABLE_CHROMIUM_FAST_NPOT_MO8_TEXTURES, \ |
40 enable_chromium_fast_npot_mo8_textures) \ | 42 enable_chromium_fast_npot_mo8_textures) \ |
41 GPU_OP(EXIT_ON_CONTEXT_LOST, \ | 43 GPU_OP(EXIT_ON_CONTEXT_LOST, \ |
42 exit_on_context_lost) \ | 44 exit_on_context_lost) \ |
43 GPU_OP(FORCE_DISCRETE_GPU, \ | 45 GPU_OP(FORCE_DISCRETE_GPU, \ |
44 force_discrete_gpu) \ | 46 force_discrete_gpu) \ |
45 GPU_OP(FORCE_GL_FINISH_AFTER_COMPOSITING, \ | 47 GPU_OP(FORCE_GL_FINISH_AFTER_COMPOSITING, \ |
46 force_gl_finish_after_compositing) \ | 48 force_gl_finish_after_compositing) \ |
47 GPU_OP(FORCE_INTEGRATED_GPU, \ | 49 GPU_OP(FORCE_INTEGRATED_GPU, \ |
48 force_integrated_gpu) \ | 50 force_integrated_gpu) \ |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 #undef GPU_OP | 108 #undef GPU_OP |
107 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES | 109 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES |
108 }; | 110 }; |
109 | 111 |
110 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( | 112 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( |
111 GpuDriverBugWorkaroundType type); | 113 GpuDriverBugWorkaroundType type); |
112 | 114 |
113 } // namespace gpu | 115 } // namespace gpu |
114 | 116 |
115 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ | 117 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ |
OLD | NEW |