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

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

Issue 146243006: Merge r249547 into M33: Add a gpu driver bug workaround to count in all varyings in packing check. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1750/src/
Patch Set: Created 6 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « gpu/config/gpu_driver_bug_list_json.cc ('k') | no next file » | 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"
11 11
12 #define GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) \ 12 #define GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) \
13 GPU_OP(CLEAR_ALPHA_IN_READPIXELS, \ 13 GPU_OP(CLEAR_ALPHA_IN_READPIXELS, \
14 clear_alpha_in_readpixels) \ 14 clear_alpha_in_readpixels) \
15 GPU_OP(CLEAR_UNIFORMS_BEFORE_FIRST_PROGRAM_USE, \ 15 GPU_OP(CLEAR_UNIFORMS_BEFORE_FIRST_PROGRAM_USE, \
16 clear_uniforms_before_first_program_use) \ 16 clear_uniforms_before_first_program_use) \
17 GPU_OP(COUNT_ALL_IN_VARYINGS_PACKING, \
18 count_all_in_varyings_packing) \
17 GPU_OP(DISABLE_ANGLE_INSTANCED_ARRAYS, \ 19 GPU_OP(DISABLE_ANGLE_INSTANCED_ARRAYS, \
18 disable_angle_instanced_arrays) \ 20 disable_angle_instanced_arrays) \
19 GPU_OP(DISABLE_ASYNC_READPIXELS, \ 21 GPU_OP(DISABLE_ASYNC_READPIXELS, \
20 disable_async_readpixels) \ 22 disable_async_readpixels) \
21 GPU_OP(DISABLE_D3D11, \ 23 GPU_OP(DISABLE_D3D11, \
22 disable_d3d11) \ 24 disable_d3d11) \
23 GPU_OP(DISABLE_DEPTH_TEXTURE, \ 25 GPU_OP(DISABLE_DEPTH_TEXTURE, \
24 disable_depth_texture) \ 26 disable_depth_texture) \
25 GPU_OP(DISABLE_EXT_DISCARD_FRAMEBUFFER, \ 27 GPU_OP(DISABLE_EXT_DISCARD_FRAMEBUFFER, \
26 disable_ext_discard_framebuffer) \ 28 disable_ext_discard_framebuffer) \
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 #undef GPU_OP 96 #undef GPU_OP
95 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES 97 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES
96 }; 98 };
97 99
98 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( 100 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString(
99 GpuDriverBugWorkaroundType type); 101 GpuDriverBugWorkaroundType type);
100 102
101 } // namespace gpu 103 } // namespace gpu
102 104
103 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ 105 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_
OLDNEW
« no previous file with comments | « gpu/config/gpu_driver_bug_list_json.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698