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 11 matching lines...) Expand all Loading... |
22 GPU_OP(AVOID_ONE_COMPONENT_EGL_IMAGES, \ | 22 GPU_OP(AVOID_ONE_COMPONENT_EGL_IMAGES, \ |
23 avoid_one_component_egl_images) \ | 23 avoid_one_component_egl_images) \ |
24 GPU_OP(BROKEN_EGL_IMAGE_REF_COUNTING, \ | 24 GPU_OP(BROKEN_EGL_IMAGE_REF_COUNTING, \ |
25 broken_egl_image_ref_counting) \ | 25 broken_egl_image_ref_counting) \ |
26 GPU_OP(CLEAR_ALPHA_IN_READPIXELS, \ | 26 GPU_OP(CLEAR_ALPHA_IN_READPIXELS, \ |
27 clear_alpha_in_readpixels) \ | 27 clear_alpha_in_readpixels) \ |
28 GPU_OP(CLEAR_UNIFORMS_BEFORE_FIRST_PROGRAM_USE, \ | 28 GPU_OP(CLEAR_UNIFORMS_BEFORE_FIRST_PROGRAM_USE, \ |
29 clear_uniforms_before_first_program_use) \ | 29 clear_uniforms_before_first_program_use) \ |
30 GPU_OP(COUNT_ALL_IN_VARYINGS_PACKING, \ | 30 GPU_OP(COUNT_ALL_IN_VARYINGS_PACKING, \ |
31 count_all_in_varyings_packing) \ | 31 count_all_in_varyings_packing) \ |
| 32 GPU_OP(DECODE_ENCODE_SRGB_FOR_GENERATEMIPMAP, \ |
| 33 decode_encode_srgb_for_generatemipmap) \ |
32 GPU_OP(DISABLE_ANGLE_INSTANCED_ARRAYS, \ | 34 GPU_OP(DISABLE_ANGLE_INSTANCED_ARRAYS, \ |
33 disable_angle_instanced_arrays) \ | 35 disable_angle_instanced_arrays) \ |
34 GPU_OP(DISABLE_ASYNC_READPIXELS, \ | 36 GPU_OP(DISABLE_ASYNC_READPIXELS, \ |
35 disable_async_readpixels) \ | 37 disable_async_readpixels) \ |
36 GPU_OP(DISABLE_AV_SAMPLE_BUFFER_DISPLAY_LAYER, \ | 38 GPU_OP(DISABLE_AV_SAMPLE_BUFFER_DISPLAY_LAYER, \ |
37 disable_av_sample_buffer_display_layer) \ | 39 disable_av_sample_buffer_display_layer) \ |
38 GPU_OP(DISABLE_BLEND_EQUATION_ADVANCED, \ | 40 GPU_OP(DISABLE_BLEND_EQUATION_ADVANCED, \ |
39 disable_blend_equation_advanced) \ | 41 disable_blend_equation_advanced) \ |
40 GPU_OP(DISABLE_CHROMIUM_FRAMEBUFFER_MULTISAMPLE, \ | 42 GPU_OP(DISABLE_CHROMIUM_FRAMEBUFFER_MULTISAMPLE, \ |
41 disable_chromium_framebuffer_multisample) \ | 43 disable_chromium_framebuffer_multisample) \ |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
196 #undef GPU_OP | 198 #undef GPU_OP |
197 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES | 199 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES |
198 }; | 200 }; |
199 | 201 |
200 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( | 202 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( |
201 GpuDriverBugWorkaroundType type); | 203 GpuDriverBugWorkaroundType type); |
202 | 204 |
203 } // namespace gpu | 205 } // namespace gpu |
204 | 206 |
205 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ | 207 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ |
OLD | NEW |