Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(725)

Side by Side Diff: gpu/config/gpu_driver_bug_workaround_type.h

Issue 2934733002: Workaround for Intel 6xxx clear to 0/1 bug (Closed)
Patch Set: rebased, rename setGLWorkarounds to set_gl_workarounds Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/config/gpu_driver_bug_list.json ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
22 GPU_OP(AVOID_EGL_IMAGE_TARGET_TEXTURE_REUSE, \ 22 GPU_OP(AVOID_EGL_IMAGE_TARGET_TEXTURE_REUSE, \
23 avoid_egl_image_target_texture_reuse) \ 23 avoid_egl_image_target_texture_reuse) \
24 GPU_OP(AVOID_ONE_COMPONENT_EGL_IMAGES, \ 24 GPU_OP(AVOID_ONE_COMPONENT_EGL_IMAGES, \
25 avoid_one_component_egl_images) \ 25 avoid_one_component_egl_images) \
26 GPU_OP(AVOID_STENCIL_BUFFERS, \ 26 GPU_OP(AVOID_STENCIL_BUFFERS, \
27 avoid_stencil_buffers) \ 27 avoid_stencil_buffers) \
28 GPU_OP(BROKEN_EGL_IMAGE_REF_COUNTING, \ 28 GPU_OP(BROKEN_EGL_IMAGE_REF_COUNTING, \
29 broken_egl_image_ref_counting) \ 29 broken_egl_image_ref_counting) \
30 GPU_OP(CLEAR_ALPHA_IN_READPIXELS, \ 30 GPU_OP(CLEAR_ALPHA_IN_READPIXELS, \
31 clear_alpha_in_readpixels) \ 31 clear_alpha_in_readpixels) \
32 GPU_OP(CLEAR_TO_ZERO_OR_ONE_BROKEN, \
33 clear_to_zero_or_one_broken) \
32 GPU_OP(CLEAR_UNIFORMS_BEFORE_FIRST_PROGRAM_USE, \ 34 GPU_OP(CLEAR_UNIFORMS_BEFORE_FIRST_PROGRAM_USE, \
33 clear_uniforms_before_first_program_use) \ 35 clear_uniforms_before_first_program_use) \
34 GPU_OP(COUNT_ALL_IN_VARYINGS_PACKING, \ 36 GPU_OP(COUNT_ALL_IN_VARYINGS_PACKING, \
35 count_all_in_varyings_packing) \ 37 count_all_in_varyings_packing) \
36 GPU_OP(CREATE_DEFAULT_GL_CONTEXT, \ 38 GPU_OP(CREATE_DEFAULT_GL_CONTEXT, \
37 create_default_gl_context) \ 39 create_default_gl_context) \
38 GPU_OP(DECODE_ENCODE_SRGB_FOR_GENERATEMIPMAP, \ 40 GPU_OP(DECODE_ENCODE_SRGB_FOR_GENERATEMIPMAP, \
39 decode_encode_srgb_for_generatemipmap) \ 41 decode_encode_srgb_for_generatemipmap) \
40 GPU_OP(DISABLE_ACCELERATED_VPX_DECODE, \ 42 GPU_OP(DISABLE_ACCELERATED_VPX_DECODE, \
41 disable_accelerated_vpx_decode) \ 43 disable_accelerated_vpx_decode) \
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 #undef GPU_OP 240 #undef GPU_OP
239 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES 241 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES
240 }; 242 };
241 243
242 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( 244 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString(
243 GpuDriverBugWorkaroundType type); 245 GpuDriverBugWorkaroundType type);
244 246
245 } // namespace gpu 247 } // namespace gpu
246 248
247 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ 249 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_
OLDNEW
« no previous file with comments | « gpu/config/gpu_driver_bug_list.json ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698