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 1268953002: Make ANGLE perf decisions be runtime rather than compile time (Closed) Base URL: https://skia.googlesource.com/skia.git@fixrpspeed
Patch Set: Address comments Created 5 years, 4 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/GrGLGpu.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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 kIntel_GrGLDriver,
62 kANGLE_GrGLDriver,
62 kUnknown_GrGLDriver 63 kUnknown_GrGLDriver
63 }; 64 };
64 65
65 //////////////////////////////////////////////////////////////////////////////// 66 ////////////////////////////////////////////////////////////////////////////////
66 67
67 /** 68 /**
68 * Some drivers want the var-int arg to be zero-initialized on input. 69 * Some drivers want the var-int arg to be zero-initialized on input.
69 */ 70 */
70 #define GR_GL_INIT_ZERO 0 71 #define GR_GL_INIT_ZERO 0
71 #define GR_GL_GetIntegerv(gl, e, p) \ 72 #define GR_GL_GetIntegerv(gl, e, p) \
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 GR_GL_LOG_CALLS_IMPL(X); \ 209 GR_GL_LOG_CALLS_IMPL(X); \
209 } while (false) 210 } while (false)
210 211
211 // call glGetError without doing a redundant error check or logging. 212 // call glGetError without doing a redundant error check or logging.
212 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError() 213 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError()
213 214
214 GrGLenum GrToGLStencilFunc(GrStencilFunc basicFunc); 215 GrGLenum GrToGLStencilFunc(GrStencilFunc basicFunc);
215 216
216 217
217 #endif 218 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLGpu.cpp ('k') | src/gpu/gl/GrGLUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698