| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 * are commonly rendered at the same scale and fractional translation. | 75 * are commonly rendered at the same scale and fractional translation. |
| 76 */ | 76 */ |
| 77 bool fAllowPathMaskCaching = false; | 77 bool fAllowPathMaskCaching = false; |
| 78 | 78 |
| 79 /** | 79 /** |
| 80 * Force all path draws to go through through the sw-rasterize-to-texture co
de path (assuming | 80 * Force all path draws to go through through the sw-rasterize-to-texture co
de path (assuming |
| 81 * the path is not recognized as a simpler shape (e.g. a rrect). This is int
ended for testing | 81 * the path is not recognized as a simpler shape (e.g. a rrect). This is int
ended for testing |
| 82 * purposes. | 82 * purposes. |
| 83 */ | 83 */ |
| 84 bool fForceSWPathMasks = false; | 84 bool fForceSWPathMasks = false; |
| 85 | |
| 86 /** | |
| 87 * If true, sRGB support will not be enabled unless sRGB decoding can be dis
abled (via an | |
| 88 * extension). If mixed use of "legacy" mode and sRGB/color-correct mode is
not required, this | |
| 89 * can be set to false, which will significantly expand the number of device
s that qualify for | |
| 90 * sRGB support. | |
| 91 */ | |
| 92 bool fRequireDecodeDisableForSRGB = true; | |
| 93 }; | 85 }; |
| 94 | 86 |
| 95 #endif | 87 #endif |
| OLD | NEW |