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

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

Issue 917313005: Limit clear as draw workaround to Adreno 3xx. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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 27 matching lines...) Expand all
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 kPowerVR54x_GrGLRenderer, 46 kPowerVR54x_GrGLRenderer,
47 kPowerVRRogue_GrGLRenderer, 47 kPowerVRRogue_GrGLRenderer,
48 kAdreno3xx_GrGLRenderer,
49 kAdreno4xx_GrGLRenderer,
48 kOther_GrGLRenderer 50 kOther_GrGLRenderer
49 }; 51 };
50 52
51 //////////////////////////////////////////////////////////////////////////////// 53 ////////////////////////////////////////////////////////////////////////////////
52 54
53 /** 55 /**
54 * Some drivers want the var-int arg to be zero-initialized on input. 56 * Some drivers want the var-int arg to be zero-initialized on input.
55 */ 57 */
56 #define GR_GL_INIT_ZERO 0 58 #define GR_GL_INIT_ZERO 0
57 #define GR_GL_GetIntegerv(gl, e, p) \ 59 #define GR_GL_GetIntegerv(gl, e, p) \
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 GR_GL_LOG_CALLS_IMPL(X); \ 191 GR_GL_LOG_CALLS_IMPL(X); \
190 } while (false) 192 } while (false)
191 193
192 // call glGetError without doing a redundant error check or logging. 194 // call glGetError without doing a redundant error check or logging.
193 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError() 195 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError()
194 196
195 GrGLenum GrToGLStencilFunc(GrStencilFunc basicFunc); 197 GrGLenum GrToGLStencilFunc(GrStencilFunc basicFunc);
196 198
197 199
198 #endif 200 #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