682c269a15
Committed: https://skia.googlesource.com/skia/+/f28cff71db2cbb1ff18a8fbf1e80ca761d1f69bc Review URL: https://codereview.chromium.org/1158433006
25 lines
612 B
C
25 lines
612 B
C
/*
|
|
* 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
|