7#ifndef DisplayParams_DEFINED
8#define DisplayParams_DEFINED
15#if defined(SK_GRAPHITE)
22#if defined(SK_GRAPHITE)
23struct GraphiteContextOptions {
24 GraphiteContextOptions() {
25 fOptions.fOptionsPriv = &fPriv;
28 GraphiteContextOptions(
const GraphiteContextOptions& other)
29 : fOptions(other.fOptions)
30 , fPriv(other.fPriv) {
31 fOptions.fOptionsPriv = &fPriv;
34 GraphiteContextOptions& operator=(
const GraphiteContextOptions& other) {
35 fOptions = other.fOptions;
37 fOptions.fOptionsPriv = &fPriv;
62#if defined(SK_GRAPHITE)
63 GraphiteContextOptions fGraphiteContextOptions;
65 bool fDisableTintSymbolRenaming =
false;
bool fDelayDrawableAcquisition
SkSurfaceProps fSurfaceProps
GrContextOptions fGrContextOptions
sk_sp< SkColorSpace > fColorSpace
bool fCreateProtectedNativeBackend