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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 GPU_OP(UNFOLD_SHORT_CIRCUIT_AS_TERNARY_OPERATION, \ | 184 GPU_OP(UNFOLD_SHORT_CIRCUIT_AS_TERNARY_OPERATION, \ |
185 unfold_short_circuit_as_ternary_operation) \ | 185 unfold_short_circuit_as_ternary_operation) \ |
186 GPU_OP(UNPACK_ALIGNMENT_WORKAROUND_WITH_UNPACK_BUFFER, \ | 186 GPU_OP(UNPACK_ALIGNMENT_WORKAROUND_WITH_UNPACK_BUFFER, \ |
187 unpack_alignment_workaround_with_unpack_buffer) \ | 187 unpack_alignment_workaround_with_unpack_buffer) \ |
188 GPU_OP(UNPACK_IMAGE_HEIGHT_WORKAROUND_WITH_UNPACK_BUFFER, \ | 188 GPU_OP(UNPACK_IMAGE_HEIGHT_WORKAROUND_WITH_UNPACK_BUFFER, \ |
189 unpack_image_height_workaround_with_unpack_buffer) \ | 189 unpack_image_height_workaround_with_unpack_buffer) \ |
190 GPU_OP(UNPACK_OVERLAPPING_ROWS_SEPARATELY_UNPACK_BUFFER, \ | 190 GPU_OP(UNPACK_OVERLAPPING_ROWS_SEPARATELY_UNPACK_BUFFER, \ |
191 unpack_overlapping_rows_separately_unpack_buffer) \ | 191 unpack_overlapping_rows_separately_unpack_buffer) \ |
192 GPU_OP(USE_CLIENT_SIDE_ARRAYS_FOR_STREAM_BUFFERS, \ | 192 GPU_OP(USE_CLIENT_SIDE_ARRAYS_FOR_STREAM_BUFFERS, \ |
193 use_client_side_arrays_for_stream_buffers) \ | 193 use_client_side_arrays_for_stream_buffers) \ |
| 194 GPU_OP(USE_COPY_TEXTURE_FALLBACK_RGB5_A1, \ |
| 195 use_copy_texture_fallback_rgb5_a1) \ |
194 GPU_OP(USE_INTERMEDIARY_FOR_COPY_TEXTURE_IMAGE, \ | 196 GPU_OP(USE_INTERMEDIARY_FOR_COPY_TEXTURE_IMAGE, \ |
195 use_intermediary_for_copy_texture_image) \ | 197 use_intermediary_for_copy_texture_image) \ |
196 GPU_OP(USE_NON_ZERO_SIZE_FOR_CLIENT_SIDE_STREAM_BUFFERS, \ | 198 GPU_OP(USE_NON_ZERO_SIZE_FOR_CLIENT_SIDE_STREAM_BUFFERS, \ |
197 use_non_zero_size_for_client_side_stream_buffers) \ | 199 use_non_zero_size_for_client_side_stream_buffers) \ |
198 GPU_OP(USE_SHADOWED_TEX_LEVEL_PARAMS, \ | 200 GPU_OP(USE_SHADOWED_TEX_LEVEL_PARAMS, \ |
199 use_shadowed_tex_level_params) \ | 201 use_shadowed_tex_level_params) \ |
200 GPU_OP(USE_UNUSED_STANDARD_SHARED_BLOCKS, \ | 202 GPU_OP(USE_UNUSED_STANDARD_SHARED_BLOCKS, \ |
201 use_unused_standard_shared_blocks) \ | 203 use_unused_standard_shared_blocks) \ |
202 GPU_OP(USE_VIRTUALIZED_GL_CONTEXTS, \ | 204 GPU_OP(USE_VIRTUALIZED_GL_CONTEXTS, \ |
203 use_virtualized_gl_contexts) \ | 205 use_virtualized_gl_contexts) \ |
(...skipping 16 matching lines...) Expand all Loading... |
220 #undef GPU_OP | 222 #undef GPU_OP |
221 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES | 223 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES |
222 }; | 224 }; |
223 | 225 |
224 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( | 226 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( |
225 GpuDriverBugWorkaroundType type); | 227 GpuDriverBugWorkaroundType type); |
226 | 228 |
227 } // namespace gpu | 229 } // namespace gpu |
228 | 230 |
229 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ | 231 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ |
OLD | NEW |