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

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

Issue 147593011: Hookup clear_uniforms_before_first_program_use workaround with implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: same 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_PROGRAM_USE, \ 15 GPU_OP(CLEAR_UNIFORMS_BEFORE_FIRST_PROGRAM_USE, \
16 clear_uniforms_before_program_use) \ 16 clear_uniforms_before_first_program_use) \
17 GPU_OP(DISABLE_ANGLE_INSTANCED_ARRAYS, \ 17 GPU_OP(DISABLE_ANGLE_INSTANCED_ARRAYS, \
18 disable_angle_instanced_arrays) \ 18 disable_angle_instanced_arrays) \
19 GPU_OP(DISABLE_ASYNC_READPIXELS, \ 19 GPU_OP(DISABLE_ASYNC_READPIXELS, \
20 disable_async_readpixels) \ 20 disable_async_readpixels) \
21 GPU_OP(DISABLE_D3D11, \ 21 GPU_OP(DISABLE_D3D11, \
22 disable_d3d11) \ 22 disable_d3d11) \
23 GPU_OP(DISABLE_DEPTH_TEXTURE, \ 23 GPU_OP(DISABLE_DEPTH_TEXTURE, \
24 disable_depth_texture) \ 24 disable_depth_texture) \
25 GPU_OP(DISABLE_EXT_DISCARD_FRAMEBUFFER, \ 25 GPU_OP(DISABLE_EXT_DISCARD_FRAMEBUFFER, \
26 disable_ext_discard_framebuffer) \ 26 disable_ext_discard_framebuffer) \
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 #undef GPU_OP 94 #undef GPU_OP
95 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES 95 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES
96 }; 96 };
97 97
98 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( 98 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString(
99 GpuDriverBugWorkaroundType type); 99 GpuDriverBugWorkaroundType type);
100 100
101 } // namespace gpu 101 } // namespace gpu
102 102
103 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ 103 #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