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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
98 GPU_OP(EXIT_ON_CONTEXT_LOST, \ | 98 GPU_OP(EXIT_ON_CONTEXT_LOST, \ |
99 exit_on_context_lost) \ | 99 exit_on_context_lost) \ |
100 GPU_OP(FORCE_CUBE_COMPLETE, \ | 100 GPU_OP(FORCE_CUBE_COMPLETE, \ |
101 force_cube_complete) \ | 101 force_cube_complete) \ |
102 GPU_OP(FORCE_CUBE_MAP_POSITIVE_X_ALLOCATION, \ | 102 GPU_OP(FORCE_CUBE_MAP_POSITIVE_X_ALLOCATION, \ |
103 force_cube_map_positive_x_allocation) \ | 103 force_cube_map_positive_x_allocation) \ |
104 GPU_OP(FORCE_DISCRETE_GPU, \ | 104 GPU_OP(FORCE_DISCRETE_GPU, \ |
105 force_discrete_gpu) \ | 105 force_discrete_gpu) \ |
106 GPU_OP(FORCE_INTEGRATED_GPU, \ | 106 GPU_OP(FORCE_INTEGRATED_GPU, \ |
107 force_integrated_gpu) \ | 107 force_integrated_gpu) \ |
| 108 GPU_OP(FORCE_INT_OR_SRGB_CUBE_TEXTURE_COMPLETE, \ |
| 109 force_int_or_srgb_cube_texture_complete) \ |
108 GPU_OP(FORCE_UPDATE_SCISSOR_STATE_WHEN_BINDING_FBO0, \ | 110 GPU_OP(FORCE_UPDATE_SCISSOR_STATE_WHEN_BINDING_FBO0, \ |
109 force_update_scissor_state_when_binding_fbo0) \ | 111 force_update_scissor_state_when_binding_fbo0) \ |
110 GPU_OP(GET_FRAG_DATA_INFO_BUG, \ | 112 GPU_OP(GET_FRAG_DATA_INFO_BUG, \ |
111 get_frag_data_info_bug) \ | 113 get_frag_data_info_bug) \ |
112 GPU_OP(GL_CLEAR_BROKEN, \ | 114 GPU_OP(GL_CLEAR_BROKEN, \ |
113 gl_clear_broken) \ | 115 gl_clear_broken) \ |
114 GPU_OP(IGNORE_EGL_SYNC_FAILURES, \ | 116 GPU_OP(IGNORE_EGL_SYNC_FAILURES, \ |
115 ignore_egl_sync_failures) \ | 117 ignore_egl_sync_failures) \ |
116 GPU_OP(INIT_GL_POSITION_IN_VERTEX_SHADER, \ | 118 GPU_OP(INIT_GL_POSITION_IN_VERTEX_SHADER, \ |
117 init_gl_position_in_vertex_shader) \ | 119 init_gl_position_in_vertex_shader) \ |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 #undef GPU_OP | 224 #undef GPU_OP |
223 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES | 225 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES |
224 }; | 226 }; |
225 | 227 |
226 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( | 228 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( |
227 GpuDriverBugWorkaroundType type); | 229 GpuDriverBugWorkaroundType type); |
228 | 230 |
229 } // namespace gpu | 231 } // namespace gpu |
230 | 232 |
231 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ | 233 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ |
OLD | NEW |