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

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

Issue 701573002: Workaround for PowerVR clear issue. (Closed) Base URL: https://skia.googlesource.com/skia.git@no_null
Patch Set: Add missing spaces Created 6 years, 1 month 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 25 matching lines...) Expand all
36 kIntel_GrGLVendor, 36 kIntel_GrGLVendor,
37 kQualcomm_GrGLVendor, 37 kQualcomm_GrGLVendor,
38 kNVIDIA_GrGLVendor, 38 kNVIDIA_GrGLVendor,
39 39
40 kOther_GrGLVendor 40 kOther_GrGLVendor
41 }; 41 };
42 42
43 enum GrGLRenderer { 43 enum GrGLRenderer {
44 kTegra2_GrGLRenderer, 44 kTegra2_GrGLRenderer,
45 kTegra3_GrGLRenderer, 45 kTegra3_GrGLRenderer,
46 46 kPowerVR54x_GrGLRenderer,
47 kPowerVRRogue_GrGLRenderer,
47 kOther_GrGLRenderer 48 kOther_GrGLRenderer
48 }; 49 };
49 50
50 //////////////////////////////////////////////////////////////////////////////// 51 ////////////////////////////////////////////////////////////////////////////////
51 52
52 /** 53 /**
53 * Some drivers want the var-int arg to be zero-initialized on input. 54 * Some drivers want the var-int arg to be zero-initialized on input.
54 */ 55 */
55 #define GR_GL_INIT_ZERO 0 56 #define GR_GL_INIT_ZERO 0
56 #define GR_GL_GetIntegerv(gl, e, p) \ 57 #define GR_GL_GetIntegerv(gl, e, p) \
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 GR_GL_LOG_CALLS_IMPL(X); \ 180 GR_GL_LOG_CALLS_IMPL(X); \
180 } while (false) 181 } while (false)
181 182
182 // call glGetError without doing a redundant error check or logging. 183 // call glGetError without doing a redundant error check or logging.
183 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError() 184 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError()
184 185
185 GrGLenum GrToGLStencilFunc(GrStencilFunc basicFunc); 186 GrGLenum GrToGLStencilFunc(GrStencilFunc basicFunc);
186 187
187 188
188 #endif 189 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLUtil.cpp » ('j') | src/gpu/gl/GrGLUtil.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698