aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/sk_app/DisplayParams.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/sk_app/DisplayParams.h')
-rw-r--r--tools/sk_app/DisplayParams.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/tools/sk_app/DisplayParams.h b/tools/sk_app/DisplayParams.h
index 203e8bdeca..54e9135749 100644
--- a/tools/sk_app/DisplayParams.h
+++ b/tools/sk_app/DisplayParams.h
@@ -9,16 +9,23 @@
#include "GrContextOptions.h"
#include "SkImageInfo.h"
+#include "SkSurfaceProps.h"
namespace sk_app {
struct DisplayParams {
- DisplayParams() : fColorType(kN32_SkColorType), fColorSpace(nullptr), fMSAASampleCount(1) {}
+ DisplayParams()
+ : fColorType(kN32_SkColorType)
+ , fColorSpace(nullptr)
+ , fMSAASampleCount(1)
+ , fSurfaceProps(SkSurfaceProps::kLegacyFontHost_InitType)
+ {}
SkColorType fColorType;
sk_sp<SkColorSpace> fColorSpace;
int fMSAASampleCount;
GrContextOptions fGrContextOptions;
+ SkSurfaceProps fSurfaceProps;
};
} // namespace sk_app