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

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

Issue 2827573007: Reset TexImage2D base level to workaround Intel mac driver bug (Closed)
Patch Set: Add gpu unittests Created 3 years, 6 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
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"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 GPU_OP(REBIND_TRANSFORM_FEEDBACK_BEFORE_RESUME, \ 150 GPU_OP(REBIND_TRANSFORM_FEEDBACK_BEFORE_RESUME, \
151 rebind_transform_feedback_before_resume) \ 151 rebind_transform_feedback_before_resume) \
152 GPU_OP(REGENERATE_STRUCT_NAMES, \ 152 GPU_OP(REGENERATE_STRUCT_NAMES, \
153 regenerate_struct_names) \ 153 regenerate_struct_names) \
154 GPU_OP(REMOVE_INVARIANT_AND_CENTROID_FOR_ESSL3, \ 154 GPU_OP(REMOVE_INVARIANT_AND_CENTROID_FOR_ESSL3, \
155 remove_invariant_and_centroid_for_essl3) \ 155 remove_invariant_and_centroid_for_essl3) \
156 GPU_OP(REMOVE_POW_WITH_CONSTANT_EXPONENT, \ 156 GPU_OP(REMOVE_POW_WITH_CONSTANT_EXPONENT, \
157 remove_pow_with_constant_exponent) \ 157 remove_pow_with_constant_exponent) \
158 GPU_OP(RESET_BASE_MIPMAP_LEVEL_BEFORE_TEXSTORAGE, \ 158 GPU_OP(RESET_BASE_MIPMAP_LEVEL_BEFORE_TEXSTORAGE, \
159 reset_base_mipmap_level_before_texstorage) \ 159 reset_base_mipmap_level_before_texstorage) \
160 GPU_OP(RESET_TEXIMAGE2D_BASE_LEVEL, \
161 reset_teximage2d_base_level) \
160 GPU_OP(RESTORE_SCISSOR_ON_FBO_CHANGE, \ 162 GPU_OP(RESTORE_SCISSOR_ON_FBO_CHANGE, \
161 restore_scissor_on_fbo_change) \ 163 restore_scissor_on_fbo_change) \
162 GPU_OP(REVERSE_POINT_SPRITE_COORD_ORIGIN, \ 164 GPU_OP(REVERSE_POINT_SPRITE_COORD_ORIGIN, \
163 reverse_point_sprite_coord_origin) \ 165 reverse_point_sprite_coord_origin) \
164 GPU_OP(REWRITE_DO_WHILE_LOOPS, \ 166 GPU_OP(REWRITE_DO_WHILE_LOOPS, \
165 rewrite_do_while_loops) \ 167 rewrite_do_while_loops) \
166 GPU_OP(REWRITE_FLOAT_UNARY_MINUS_OPERATOR, \ 168 GPU_OP(REWRITE_FLOAT_UNARY_MINUS_OPERATOR, \
167 rewrite_float_unary_minus_operator) \ 169 rewrite_float_unary_minus_operator) \
168 GPU_OP(REWRITE_TEXELFETCHOFFSET_TO_TEXELFETCH, \ 170 GPU_OP(REWRITE_TEXELFETCHOFFSET_TO_TEXELFETCH, \
169 rewrite_texelfetchoffset_to_texelfetch) \ 171 rewrite_texelfetchoffset_to_texelfetch) \
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 #undef GPU_OP 234 #undef GPU_OP
233 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES 235 NUMBER_OF_GPU_DRIVER_BUG_WORKAROUND_TYPES
234 }; 236 };
235 237
236 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString( 238 GPU_EXPORT std::string GpuDriverBugWorkaroundTypeToString(
237 GpuDriverBugWorkaroundType type); 239 GpuDriverBugWorkaroundType type);
238 240
239 } // namespace gpu 241 } // namespace gpu
240 242
241 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_ 243 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUND_TYPE_H_
OLDNEW
« gpu/command_buffer/service/texture_manager.h ('K') | « gpu/config/gpu_driver_bug_list.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698