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

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

Issue 1166513002: Re-enable advanced blend with a blacklist (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix msvc Created 5 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 kPowerVRRogue_GrGLRenderer, 51 kPowerVRRogue_GrGLRenderer,
52 kAdreno3xx_GrGLRenderer, 52 kAdreno3xx_GrGLRenderer,
53 kAdreno4xx_GrGLRenderer, 53 kAdreno4xx_GrGLRenderer,
54 kOther_GrGLRenderer 54 kOther_GrGLRenderer
55 }; 55 };
56 56
57 enum GrGLDriver { 57 enum GrGLDriver {
58 kMesa_GrGLDriver, 58 kMesa_GrGLDriver,
59 kChromium_GrGLDriver, 59 kChromium_GrGLDriver,
60 kNVIDIA_GrGLDriver, 60 kNVIDIA_GrGLDriver,
61 kIntel_GrGLDriver,
61 kUnknown_GrGLDriver 62 kUnknown_GrGLDriver
62 }; 63 };
63 64
64 //////////////////////////////////////////////////////////////////////////////// 65 ////////////////////////////////////////////////////////////////////////////////
65 66
66 /** 67 /**
67 * Some drivers want the var-int arg to be zero-initialized on input. 68 * Some drivers want the var-int arg to be zero-initialized on input.
68 */ 69 */
69 #define GR_GL_INIT_ZERO 0 70 #define GR_GL_INIT_ZERO 0
70 #define GR_GL_GetIntegerv(gl, e, p) \ 71 #define GR_GL_GetIntegerv(gl, e, p) \
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 GR_GL_LOG_CALLS_IMPL(X); \ 208 GR_GL_LOG_CALLS_IMPL(X); \
208 } while (false) 209 } while (false)
209 210
210 // call glGetError without doing a redundant error check or logging. 211 // call glGetError without doing a redundant error check or logging.
211 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError() 212 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError()
212 213
213 GrGLenum GrToGLStencilFunc(GrStencilFunc basicFunc); 214 GrGLenum GrToGLStencilFunc(GrStencilFunc basicFunc);
214 215
215 216
216 #endif 217 #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