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

Side by Side Diff: include/gpu/GrContextOptions.h

Issue 2050373002: Revert of Add control of manual mipmapping to GrContextOptions (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 6 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 | « no previous file | src/gpu/gl/GrGLCaps.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 2015 Google Inc. 2 * Copyright 2015 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 GrContextOptions_DEFINED 8 #ifndef GrContextOptions_DEFINED
9 #define GrContextOptions_DEFINED 9 #define GrContextOptions_DEFINED
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 bool fDrawBatchBounds; 60 bool fDrawBatchBounds;
61 61
62 /** For debugging, override the default maximum look-back or look-ahead wind ow for GrBatch 62 /** For debugging, override the default maximum look-back or look-ahead wind ow for GrBatch
63 combining. */ 63 combining. */
64 int fMaxBatchLookback; 64 int fMaxBatchLookback;
65 int fMaxBatchLookahead; 65 int fMaxBatchLookahead;
66 66
67 /** Force us to do all swizzling manually in the shader and don't rely on ex tensions to do 67 /** Force us to do all swizzling manually in the shader and don't rely on ex tensions to do
68 swizzling. */ 68 swizzling. */
69 bool fUseShaderSwizzling; 69 bool fUseShaderSwizzling;
70
71 /** Construct mipmaps manually, via repeated downsampling draw-calls. This i s used when
72 the driver's implementation (glGenerateMipmap) contains bugs. This requi res mipmap
73 level and LOD control (ie desktop or ES3). */
74 bool fDoManualMipmapping;
75 }; 70 };
76 71
77 #endif 72 #endif
OLDNEW
« no previous file with comments | « no previous file | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698