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

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

Issue 398183002: Fix alpha textures in NV ES3 contexts on Windows (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: suppress warning Created 6 years, 5 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/GrGLContext.h ('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 16 matching lines...) Expand all
27 #define GR_GLSL_INVALID_VER GR_GL_VER(0, 0) 27 #define GR_GLSL_INVALID_VER GR_GL_VER(0, 0)
28 28
29 /** 29 /**
30 * The Vendor and Renderer enum values are lazily updated as required. 30 * The Vendor and Renderer enum values are lazily updated as required.
31 */ 31 */
32 enum GrGLVendor { 32 enum GrGLVendor {
33 kARM_GrGLVendor, 33 kARM_GrGLVendor,
34 kImagination_GrGLVendor, 34 kImagination_GrGLVendor,
35 kIntel_GrGLVendor, 35 kIntel_GrGLVendor,
36 kQualcomm_GrGLVendor, 36 kQualcomm_GrGLVendor,
37 kNVIDIA_GrGLVendor,
37 38
38 kOther_GrGLVendor 39 kOther_GrGLVendor
39 }; 40 };
40 41
41 enum GrGLRenderer { 42 enum GrGLRenderer {
42 kTegra2_GrGLRenderer, 43 kTegra2_GrGLRenderer,
43 kTegra3_GrGLRenderer, 44 kTegra3_GrGLRenderer,
44 45
45 kOther_GrGLRenderer 46 kOther_GrGLRenderer
46 }; 47 };
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 do { \ 175 do { \
175 GR_GL_CALLBACK_IMPL(IFACE); \ 176 GR_GL_CALLBACK_IMPL(IFACE); \
176 (RET) = (IFACE)->fFunctions.f##X; \ 177 (RET) = (IFACE)->fFunctions.f##X; \
177 GR_GL_LOG_CALLS_IMPL(X); \ 178 GR_GL_LOG_CALLS_IMPL(X); \
178 } while (false) 179 } while (false)
179 180
180 // call glGetError without doing a redundant error check or logging. 181 // call glGetError without doing a redundant error check or logging.
181 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError() 182 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError()
182 183
183 #endif 184 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLContext.h ('k') | src/gpu/gl/GrGLUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698