| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_TIMESTAMP_QUERIES, \ | 49 GPU_OP(DISABLE_TIMESTAMP_QUERIES, \ |
| 50 disable_timestamp_queries) \ | 50 disable_timestamp_queries) \ |
| 51 GPU_OP(ETC1_POWER_OF_TWO_ONLY, \ | 51 GPU_OP(ETC1_POWER_OF_TWO_ONLY, \ |
| 52 etc1_power_of_two_only) \ | 52 etc1_power_of_two_only) \ |
| 53 GPU_OP(EXIT_ON_CONTEXT_LOST, \ | 53 GPU_OP(EXIT_ON_CONTEXT_LOST, \ |
| 54 exit_on_context_lost) \ | 54 exit_on_context_lost) \ |
| 55 GPU_OP(FORCE_CUBE_MAP_POSITIVE_X_ALLOCATION, \ |
| 56 force_cube_map_positive_x_allocation) \ |
| 55 GPU_OP(FORCE_DISCRETE_GPU, \ | 57 GPU_OP(FORCE_DISCRETE_GPU, \ |
| 56 force_discrete_gpu) \ | 58 force_discrete_gpu) \ |
| 57 GPU_OP(FORCE_GL_FINISH_AFTER_COMPOSITING, \ | 59 GPU_OP(FORCE_GL_FINISH_AFTER_COMPOSITING, \ |
| 58 force_gl_finish_after_compositing) \ | 60 force_gl_finish_after_compositing) \ |
| 59 GPU_OP(FORCE_INTEGRATED_GPU, \ | 61 GPU_OP(FORCE_INTEGRATED_GPU, \ |
| 60 force_integrated_gpu) \ | 62 force_integrated_gpu) \ |
| 61 GPU_OP(GL_BEGIN_GL_END_ON_FBO_CHANGE_TO_BACKBUFFER, \ | 63 GPU_OP(GL_BEGIN_GL_END_ON_FBO_CHANGE_TO_BACKBUFFER, \ |
| 62 gl_begin_gl_end_on_fbo_change_to_backbuffer) \ | 64 gl_begin_gl_end_on_fbo_change_to_backbuffer) \ |
| 63 GPU_OP(GL_CLEAR_BROKEN, \ | 65 GPU_OP(GL_CLEAR_BROKEN, \ |
| 64 gl_clear_broken) \ | 66 gl_clear_broken) \ |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 #undef GPU_OP | 144 #undef GPU_OP |
| 143 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES | 145 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES |
| 144 }; | 146 }; |
| 145 | 147 |
| 146 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( | 148 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( |
| 147 GpuDriverBugWorkaroundType type); | 149 GpuDriverBugWorkaroundType type); |
| 148 | 150 |
| 149 } // namespace gpu | 151 } // namespace gpu |
| 150 | 152 |
| 151 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ | 153 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ |
| OLD | NEW |