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

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

Issue 292153009: Ask driver for driver specific extension (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: split LONG_STRING_CONST Created 6 years, 7 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, \ 17 GPU_OP(COUNT_ALL_IN_VARYINGS_PACKING, \
18 count_all_in_varyings_packing) \ 18 count_all_in_varyings_packing) \
19 GPU_OP(DISABLE_ANGLE_INSTANCED_ARRAYS, \ 19 GPU_OP(DISABLE_ANGLE_INSTANCED_ARRAYS, \
20 disable_angle_instanced_arrays) \ 20 disable_angle_instanced_arrays) \
21 GPU_OP(DISABLE_ASYNC_READPIXELS, \ 21 GPU_OP(DISABLE_ASYNC_READPIXELS, \
22 disable_async_readpixels) \ 22 disable_async_readpixels) \
23 GPU_OP(DISABLE_D3D11, \ 23 GPU_OP(DISABLE_D3D11, \
24 disable_d3d11) \ 24 disable_d3d11) \
25 GPU_OP(DISABLE_DEPTH_TEXTURE, \ 25 GPU_OP(DISABLE_DEPTH_TEXTURE, \
26 disable_depth_texture) \ 26 disable_depth_texture) \
27 GPU_OP(DISABLE_EGL_KHR_FENCE_SYNC, \
28 disable_egl_khr_fence_sync) \
27 GPU_OP(DISABLE_EXT_DISCARD_FRAMEBUFFER, \ 29 GPU_OP(DISABLE_EXT_DISCARD_FRAMEBUFFER, \
28 disable_ext_discard_framebuffer) \ 30 disable_ext_discard_framebuffer) \
29 GPU_OP(DISABLE_EXT_DRAW_BUFFERS, \ 31 GPU_OP(DISABLE_EXT_DRAW_BUFFERS, \
30 disable_ext_draw_buffers) \ 32 disable_ext_draw_buffers) \
31 GPU_OP(DISABLE_EXT_OCCLUSION_QUERY, \ 33 GPU_OP(DISABLE_EXT_OCCLUSION_QUERY, \
32 disable_ext_occlusion_query) \ 34 disable_ext_occlusion_query) \
33 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ 35 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \
34 disable_multimonitor_multisampling) \ 36 disable_multimonitor_multisampling) \
35 GPU_OP(DISABLE_MULTISAMPLING, \ 37 GPU_OP(DISABLE_MULTISAMPLING, \
36 disable_multisampling) \ 38 disable_multisampling) \
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 #undef GPU_OP 116 #undef GPU_OP
115 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES 117 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES
116 }; 118 };
117 119
118 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( 120 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString(
119 GpuDriverBugWorkaroundType type); 121 GpuDriverBugWorkaroundType type);
120 122
121 } // namespace gpu 123 } // namespace gpu
122 124
123 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ 125 #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