OLD | NEW |
(Empty) | |
| 1 /* |
| 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 |
| 12 namespace sk_app { |
| 13 |
| 14 struct DisplayParams { |
| 15 DisplayParams() |
| 16 : fColorType(kN32_SkColorType) |
| 17 , fProfileType(kLinear_SkColorProfileType) |
| 18 , fMSAASampleCount(0) {} |
| 19 |
| 20 SkColorType fColorType; |
| 21 SkColorProfileType fProfileType; |
| 22 int fMSAASampleCount; |
| 23 }; |
| 24 |
| 25 } // namespace sk_app |
| 26 |
| 27 #endif |
OLD | NEW |