Robert Phillips | ed65339 | 2020-07-10 13:55:21 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2020 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 | |
| 8 | #include "tools/sk_app/WindowContext.h" |
| 9 | |
| 10 | #include "include/gpu/GrDirectContext.h" |
Jim Van Verth | 7bb0ff0 | 2021-09-30 16:27:30 -0400 | [diff] [blame] | 11 | #ifdef SK_GRAPHITE_ENABLED |
| 12 | #include "experimental/graphite/include/Context.h" |
| 13 | #endif |
Robert Phillips | ed65339 | 2020-07-10 13:55:21 -0400 | [diff] [blame] | 14 | |
| 15 | namespace sk_app { |
| 16 | |
| 17 | WindowContext::WindowContext(const DisplayParams& params) |
Jim Van Verth | 7bb0ff0 | 2021-09-30 16:27:30 -0400 | [diff] [blame] | 18 | : fDisplayParams(params) {} |
Robert Phillips | ed65339 | 2020-07-10 13:55:21 -0400 | [diff] [blame] | 19 | |
| 20 | WindowContext::~WindowContext() {} |
| 21 | |
| 22 | } //namespace sk_app |