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

Side by Side Diff: src/gpu/gl/GrGLUtil.h

Issue 2042313002: Switch to a whitelist for manual mip-map generation (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add ATI to whitelist 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 | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLUtil.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrGLUtil_DEFINED 8 #ifndef GrGLUtil_DEFINED
9 #define GrGLUtil_DEFINED 9 #define GrGLUtil_DEFINED
10 10
(...skipping 22 matching lines...) Expand all
33 33
34 /** 34 /**
35 * The Vendor and Renderer enum values are lazily updated as required. 35 * The Vendor and Renderer enum values are lazily updated as required.
36 */ 36 */
37 enum GrGLVendor { 37 enum GrGLVendor {
38 kARM_GrGLVendor, 38 kARM_GrGLVendor,
39 kImagination_GrGLVendor, 39 kImagination_GrGLVendor,
40 kIntel_GrGLVendor, 40 kIntel_GrGLVendor,
41 kQualcomm_GrGLVendor, 41 kQualcomm_GrGLVendor,
42 kNVIDIA_GrGLVendor, 42 kNVIDIA_GrGLVendor,
43 kATI_GrGLVendor,
43 44
44 kOther_GrGLVendor 45 kOther_GrGLVendor
45 }; 46 };
46 47
47 enum GrGLRenderer { 48 enum GrGLRenderer {
48 kTegra2_GrGLRenderer, 49 kTegra2_GrGLRenderer,
49 kTegra3_GrGLRenderer, 50 kTegra3_GrGLRenderer,
50 kPowerVR54x_GrGLRenderer, 51 kPowerVR54x_GrGLRenderer,
51 kPowerVRRogue_GrGLRenderer, 52 kPowerVRRogue_GrGLRenderer,
52 kAdreno3xx_GrGLRenderer, 53 kAdreno3xx_GrGLRenderer,
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 GR_GL_LOG_CALLS_IMPL(X); \ 203 GR_GL_LOG_CALLS_IMPL(X); \
203 } while (false) 204 } while (false)
204 205
205 // call glGetError without doing a redundant error check or logging. 206 // call glGetError without doing a redundant error check or logging.
206 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError() 207 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError()
207 208
208 GrGLenum GrToGLStencilFunc(GrStencilTest test); 209 GrGLenum GrToGLStencilFunc(GrStencilTest test);
209 210
210 211
211 #endif 212 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698