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

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

Issue 2045663002: mac: Remove GPU bug workarounds for OS X versions before 10.9 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: kbr comment Created 4 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
« no previous file with comments | « gpu/config/gpu_driver_bug_workaround_type.h ('k') | gpu/config/gpu_driver_bug_workarounds.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_WORKAROUNDS_H_ 5 #ifndef GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUNDS_H_
6 #define GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUNDS_H_ 6 #define GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUNDS_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "gpu/config/gpu_driver_bug_workaround_type.h" 10 #include "gpu/config/gpu_driver_bug_workaround_type.h"
(...skipping 16 matching lines...) Expand all
27 GpuDriverBugWorkarounds(const GpuDriverBugWorkarounds& other); 27 GpuDriverBugWorkarounds(const GpuDriverBugWorkarounds& other);
28 28
29 ~GpuDriverBugWorkarounds(); 29 ~GpuDriverBugWorkarounds();
30 30
31 #define GPU_OP(type, name) bool name; 31 #define GPU_OP(type, name) bool name;
32 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP) 32 GPU_DRIVER_BUG_WORKAROUNDS(GPU_OP)
33 #undef GPU_OP 33 #undef GPU_OP
34 34
35 // Note: 0 here means use driver limit. 35 // Note: 0 here means use driver limit.
36 GLint max_texture_size; 36 GLint max_texture_size;
37 GLint max_cube_map_texture_size;
38 GLint max_fragment_uniform_vectors; 37 GLint max_fragment_uniform_vectors;
39 GLint max_varying_vectors; 38 GLint max_varying_vectors;
40 GLint max_vertex_uniform_vectors; 39 GLint max_vertex_uniform_vectors;
41 GLint max_copy_texture_chromium_size; 40 GLint max_copy_texture_chromium_size;
42 }; 41 };
43 42
44 } // namespace gpu 43 } // namespace gpu
45 44
46 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUNDS_H_ 45 #endif // GPU_CONFIG_GPU_DRIVER_BUG_WORKAROUNDS_H_
OLDNEW
« no previous file with comments | « gpu/config/gpu_driver_bug_workaround_type.h ('k') | gpu/config/gpu_driver_bug_workarounds.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698