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

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
« no previous file with comments | « src/gpu/gl/GrGLPathRendering.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
11 #include "gl/GrGLInterface.h" 11 #include "gl/GrGLInterface.h"
12 #include "GrGLDefines.h" 12 #include "GrGLDefines.h"
13 #include "GrStencil.h" 13 #include "GrStencilSettings.h"
14 14
15 class SkMatrix; 15 class SkMatrix;
16 16
17 //////////////////////////////////////////////////////////////////////////////// 17 ////////////////////////////////////////////////////////////////////////////////
18 18
19 typedef uint32_t GrGLVersion; 19 typedef uint32_t GrGLVersion;
20 typedef uint32_t GrGLSLVersion; 20 typedef uint32_t GrGLSLVersion;
21 typedef uint32_t GrGLDriverVersion; 21 typedef uint32_t GrGLDriverVersion;
22 22
23 #define GR_GL_VER(major, minor) ((static_cast<int>(major) << 16) | \ 23 #define GR_GL_VER(major, minor) ((static_cast<int>(major) << 16) | \
(...skipping 174 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
« no previous file with comments | « src/gpu/gl/GrGLPathRendering.cpp ('k') | src/gpu/gl/GrGLUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698