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

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

Issue 1947373003: Fix unit test crash caused by OSMesa not supporting rendering to GL_ALPHA8 (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 kOther_GrGLVendor 44 kOther_GrGLVendor
45 }; 45 };
46 46
47 enum GrGLRenderer { 47 enum GrGLRenderer {
48 kTegra2_GrGLRenderer, 48 kTegra2_GrGLRenderer,
49 kTegra3_GrGLRenderer, 49 kTegra3_GrGLRenderer,
50 kPowerVR54x_GrGLRenderer, 50 kPowerVR54x_GrGLRenderer,
51 kPowerVRRogue_GrGLRenderer, 51 kPowerVRRogue_GrGLRenderer,
52 kAdreno3xx_GrGLRenderer, 52 kAdreno3xx_GrGLRenderer,
53 kAdreno4xx_GrGLRenderer, 53 kAdreno4xx_GrGLRenderer,
54 kOSMesa_GrGLRenderer,
54 kOther_GrGLRenderer 55 kOther_GrGLRenderer
55 }; 56 };
56 57
57 enum GrGLDriver { 58 enum GrGLDriver {
58 kMesa_GrGLDriver, 59 kMesa_GrGLDriver,
59 kChromium_GrGLDriver, 60 kChromium_GrGLDriver,
60 kNVIDIA_GrGLDriver, 61 kNVIDIA_GrGLDriver,
61 kIntel_GrGLDriver, 62 kIntel_GrGLDriver,
62 kANGLE_GrGLDriver, 63 kANGLE_GrGLDriver,
63 kUnknown_GrGLDriver 64 kUnknown_GrGLDriver
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
201 GR_GL_LOG_CALLS_IMPL(X); \ 202 GR_GL_LOG_CALLS_IMPL(X); \
202 } while (false) 203 } while (false)
203 204
204 // call glGetError without doing a redundant error check or logging. 205 // call glGetError without doing a redundant error check or logging.
205 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError() 206 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError()
206 207
207 GrGLenum GrToGLStencilFunc(GrStencilFunc basicFunc); 208 GrGLenum GrToGLStencilFunc(GrStencilFunc basicFunc);
208 209
209 210
210 #endif 211 #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