bsalomon | 682c269 | 2015-05-22 14:01:46 -0700 | [diff] [blame^] | 1 | /* |
| 2 | * Copyright 2015 Google Inc. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license that can be |
| 5 | * found in the LICENSE file. |
| 6 | */ |
| 7 | |
| 8 | #ifndef GrContextOptions_DEFINED |
| 9 | #define GrContextOptions_DEFINED |
| 10 | |
| 11 | #include "SkTypes.h" |
| 12 | |
| 13 | struct GrContextOptions { |
| 14 | GrContextOptions() : fDrawPathToCompressedTexture(false), fSuppressPrints(false) {} |
| 15 | |
| 16 | // EXPERIMENTAL |
| 17 | // May be removed in the future, or may become standard depending |
| 18 | // on the outcomes of a variety of internal tests. |
| 19 | bool fDrawPathToCompressedTexture; |
| 20 | // Suppress prints for the GrContext. |
| 21 | bool fSuppressPrints; |
| 22 | }; |
| 23 | |
| 24 | #endif |