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

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

Issue 1962243002: Separate user and raw stencil settings (Closed) Base URL: https://skia.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
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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 // same as GR_GL_CALL_RET but always skips the error check. 198 // same as GR_GL_CALL_RET but always skips the error check.
199 #define GR_GL_CALL_RET_NOERRCHECK(IFACE, RET, X) \ 199 #define GR_GL_CALL_RET_NOERRCHECK(IFACE, RET, X) \
200 do { \ 200 do { \
201 (RET) = (IFACE)->fFunctions.f##X; \ 201 (RET) = (IFACE)->fFunctions.f##X; \
202 GR_GL_LOG_CALLS_IMPL(X); \ 202 GR_GL_LOG_CALLS_IMPL(X); \
203 } while (false) 203 } while (false)
204 204
205 // call glGetError without doing a redundant error check or logging. 205 // call glGetError without doing a redundant error check or logging.
206 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError() 206 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError()
207 207
208 GrGLenum GrToGLStencilFunc(GrStencilFunc basicFunc); 208 GrGLenum GrToGLStencilFunc(GrStencilTest test);
209 209
210 210
211 #endif 211 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698