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" |
11 | 11 |
12 // Clang format is toggled off here so that newlines can be kept consistent | 12 // Clang format is toggled off here so that newlines can be kept consistent |
13 // throughout the table. | 13 // throughout the table. |
14 // clang-format off | 14 // clang-format off |
15 #define GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) \ | 15 #define GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) \ |
16 GPU_OP(AVDA_DONT_COPY_PICTURES, \ | 16 GPU_OP(AVDA_DONT_COPY_PICTURES, \ |
17 avda_dont_copy_pictures) \ | 17 avda_dont_copy_pictures) \ |
18 GPU_OP(AVDA_NO_EGLIMAGE_FOR_LUMINANCE_TEX, \ | |
19 avda_no_eglimage_for_luminance_tex) \ | |
20 GPU_OP(AVOID_EGL_IMAGE_TARGET_TEXTURE_REUSE, \ | 18 GPU_OP(AVOID_EGL_IMAGE_TARGET_TEXTURE_REUSE, \ |
21 avoid_egl_image_target_texture_reuse) \ | 19 avoid_egl_image_target_texture_reuse) \ |
| 20 GPU_OP(AVOID_ONE_COMPONENT_EGL_IMAGES, \ |
| 21 avoid_one_component_egl_images) \ |
22 GPU_OP(BROKEN_EGL_IMAGE_REF_COUNTING, \ | 22 GPU_OP(BROKEN_EGL_IMAGE_REF_COUNTING, \ |
23 broken_egl_image_ref_counting) \ | 23 broken_egl_image_ref_counting) \ |
24 GPU_OP(CLEAR_ALPHA_IN_READPIXELS, \ | 24 GPU_OP(CLEAR_ALPHA_IN_READPIXELS, \ |
25 clear_alpha_in_readpixels) \ | 25 clear_alpha_in_readpixels) \ |
26 GPU_OP(CLEAR_UNIFORMS_BEFORE_FIRST_PROGRAM_USE, \ | 26 GPU_OP(CLEAR_UNIFORMS_BEFORE_FIRST_PROGRAM_USE, \ |
27 clear_uniforms_before_first_program_use) \ | 27 clear_uniforms_before_first_program_use) \ |
28 GPU_OP(COUNT_ALL_IN_VARYINGS_PACKING, \ | 28 GPU_OP(COUNT_ALL_IN_VARYINGS_PACKING, \ |
29 count_all_in_varyings_packing) \ | 29 count_all_in_varyings_packing) \ |
30 GPU_OP(DISABLE_ANGLE_INSTANCED_ARRAYS, \ | 30 GPU_OP(DISABLE_ANGLE_INSTANCED_ARRAYS, \ |
31 disable_angle_instanced_arrays) \ | 31 disable_angle_instanced_arrays) \ |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 #undef GPU_OP | 186 #undef GPU_OP |
187 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES | 187 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES |
188 }; | 188 }; |
189 | 189 |
190 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( | 190 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( |
191 GpuDriverBugWorkaroundType type); | 191 GpuDriverBugWorkaroundType type); |
192 | 192 |
193 } // namespace gpu | 193 } // namespace gpu |
194 | 194 |
195 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ | 195 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ |
OLD | NEW |