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

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

Issue 2348293004: Disable framebuffer fetch on the Adreno5xx devices. (Closed)
Patch Set: Created 4 years, 2 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 kOther_GrGLVendor 45 kOther_GrGLVendor
46 }; 46 };
47 47
48 enum GrGLRenderer { 48 enum GrGLRenderer {
49 kTegra2_GrGLRenderer, 49 kTegra2_GrGLRenderer,
50 kTegra3_GrGLRenderer, 50 kTegra3_GrGLRenderer,
51 kPowerVR54x_GrGLRenderer, 51 kPowerVR54x_GrGLRenderer,
52 kPowerVRRogue_GrGLRenderer, 52 kPowerVRRogue_GrGLRenderer,
53 kAdreno3xx_GrGLRenderer, 53 kAdreno3xx_GrGLRenderer,
54 kAdreno4xx_GrGLRenderer, 54 kAdreno4xx_GrGLRenderer,
55 kAdreno5xx_GrGLRenderer,
55 kOSMesa_GrGLRenderer, 56 kOSMesa_GrGLRenderer,
56 kOther_GrGLRenderer 57 kOther_GrGLRenderer
57 }; 58 };
58 59
59 enum GrGLDriver { 60 enum GrGLDriver {
60 kMesa_GrGLDriver, 61 kMesa_GrGLDriver,
61 kChromium_GrGLDriver, 62 kChromium_GrGLDriver,
62 kNVIDIA_GrGLDriver, 63 kNVIDIA_GrGLDriver,
63 kIntel_GrGLDriver, 64 kIntel_GrGLDriver,
64 kANGLE_GrGLDriver, 65 kANGLE_GrGLDriver,
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 GR_GL_LOG_CALLS_IMPL(X); \ 204 GR_GL_LOG_CALLS_IMPL(X); \
204 } while (false) 205 } while (false)
205 206
206 // call glGetError without doing a redundant error check or logging. 207 // call glGetError without doing a redundant error check or logging.
207 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError() 208 #define GR_GL_GET_ERROR(IFACE) (IFACE)->fFunctions.fGetError()
208 209
209 GrGLenum GrToGLStencilFunc(GrStencilTest test); 210 GrGLenum GrToGLStencilFunc(GrStencilTest test);
210 211
211 212
212 #endif 213 #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