| Index: include/gpu/GrContextOptions.h
|
| diff --git a/include/gpu/GrContextOptions.h b/include/gpu/GrContextOptions.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d78ac6cc5689d443948cba008917e383b31efb9b
|
| --- /dev/null
|
| +++ b/include/gpu/GrContextOptions.h
|
| @@ -0,0 +1,24 @@
|
| +/*
|
| + * Copyright 2015 Google Inc.
|
| + *
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file.
|
| + */
|
| +
|
| +#ifndef GrContextOptions_DEFINED
|
| +#define GrContextOptions_DEFINED
|
| +
|
| +#include "SkTypes.h"
|
| +
|
| +struct GrContextOptions {
|
| + GrContextOptions() : fDrawPathToCompressedTexture(false), fSuppressPrints(false) {}
|
| +
|
| + // EXPERIMENTAL
|
| + // May be removed in the future, or may become standard depending
|
| + // on the outcomes of a variety of internal tests.
|
| + bool fDrawPathToCompressedTexture;
|
| + // Suppress prints for the GrContext.
|
| + bool fSuppressPrints;
|
| +};
|
| +
|
| +#endif
|
|
|