Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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. */ | |
|
bsalomon
2016/06/09 16:13:11
Comment that this requires mip map level/lod contr
| |
| 73 bool fDoManualMipmapping; | |
| 70 }; | 74 }; |
| 71 | 75 |
| 72 #endif | 76 #endif |
| OLD | NEW |