blob: 8756ff0aac16f4b82445447374e10868c6784ca2 [file] [log] [blame]
brianosman05de2162016-05-06 13:28:57 -07001/*
2 * Copyright 2016 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#ifndef DisplayParams_DEFINED
8#define DisplayParams_DEFINED
9
10#include "SkImageInfo.h"
11
12namespace sk_app {
13
14struct DisplayParams {
15 DisplayParams()
16 : fColorType(kN32_SkColorType)
17 , fProfileType(kLinear_SkColorProfileType)
jvanverthaf236b52016-05-20 06:01:06 -070018 , fMSAASampleCount(0)
19 , fDeepColor(false) {}
brianosman05de2162016-05-06 13:28:57 -070020
jvanverthaf236b52016-05-20 06:01:06 -070021 SkColorType fColorType;
brianosman05de2162016-05-06 13:28:57 -070022 SkColorProfileType fProfileType;
jvanverthaf236b52016-05-20 06:01:06 -070023 int fMSAASampleCount;
24 bool fDeepColor;
brianosman05de2162016-05-06 13:28:57 -070025};
26
27} // namespace sk_app
28
29#endif