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 28 matching lines...) Expand all Loading... | |
39 GPU_OP(DISABLE_GL_RGB_FORMAT, \ | 39 GPU_OP(DISABLE_GL_RGB_FORMAT, \ |
40 disable_gl_rgb_format) \ | 40 disable_gl_rgb_format) \ |
41 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ | 41 GPU_OP(DISABLE_MULTIMONITOR_MULTISAMPLING, \ |
42 disable_multimonitor_multisampling) \ | 42 disable_multimonitor_multisampling) \ |
43 GPU_OP(DISABLE_MULTISAMPLED_RENDER_TO_TEXTURE, \ | 43 GPU_OP(DISABLE_MULTISAMPLED_RENDER_TO_TEXTURE, \ |
44 disable_multisampled_render_to_texture) \ | 44 disable_multisampled_render_to_texture) \ |
45 GPU_OP(DISABLE_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \ | 45 GPU_OP(DISABLE_POST_SUB_BUFFERS_FOR_ONSCREEN_SURFACES, \ |
46 disable_post_sub_buffers_for_onscreen_surfaces) \ | 46 disable_post_sub_buffers_for_onscreen_surfaces) \ |
47 GPU_OP(DISABLE_PROGRAM_CACHE, \ | 47 GPU_OP(DISABLE_PROGRAM_CACHE, \ |
48 disable_program_cache) \ | 48 disable_program_cache) \ |
49 GPU_OP(DISABLE_TEXTURE_STORAGE, \ | |
50 disable_texture_storage) \ | |
piman
2015/08/22 00:11:41
You added this workaround type, but you're not usi
dshwang
2015/08/26 15:20:14
you're right. the patch set missed feature_info.cc
| |
49 GPU_OP(DISABLE_TIMESTAMP_QUERIES, \ | 51 GPU_OP(DISABLE_TIMESTAMP_QUERIES, \ |
50 disable_timestamp_queries) \ | 52 disable_timestamp_queries) \ |
51 GPU_OP(ETC1_POWER_OF_TWO_ONLY, \ | 53 GPU_OP(ETC1_POWER_OF_TWO_ONLY, \ |
52 etc1_power_of_two_only) \ | 54 etc1_power_of_two_only) \ |
53 GPU_OP(EXIT_ON_CONTEXT_LOST, \ | 55 GPU_OP(EXIT_ON_CONTEXT_LOST, \ |
54 exit_on_context_lost) \ | 56 exit_on_context_lost) \ |
55 GPU_OP(FORCE_DISCRETE_GPU, \ | 57 GPU_OP(FORCE_DISCRETE_GPU, \ |
56 force_discrete_gpu) \ | 58 force_discrete_gpu) \ |
57 GPU_OP(FORCE_GL_FINISH_AFTER_COMPOSITING, \ | 59 GPU_OP(FORCE_GL_FINISH_AFTER_COMPOSITING, \ |
58 force_gl_finish_after_compositing) \ | 60 force_gl_finish_after_compositing) \ |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
142 #undef GPU_OP | 144 #undef GPU_OP |
143 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES | 145 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES |
144 }; | 146 }; |
145 | 147 |
146 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( | 148 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( |
147 GpuDriverBugWorkaroundType type); | 149 GpuDriverBugWorkaroundType type); |
148 | 150 |
149 } // namespace gpu | 151 } // namespace gpu |
150 | 152 |
151 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ | 153 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ |
OLD | NEW |