blob: d78ac6cc5689d443948cba008917e383b31efb9b [file] [log] [blame]
bsalomon682c2692015-05-22 14:01:46 -07001/*
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
13struct 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