• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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"
11 #ifdef SK_GRAPHITE_ENABLED
12 #include "experimental/graphite/include/Context.h"
13 #endif
14 
15 namespace sk_app {
16 
WindowContext(const DisplayParams & params)17 WindowContext::WindowContext(const DisplayParams& params)
18         : fDisplayParams(params) {}
19 
~WindowContext()20 WindowContext::~WindowContext() {}
21 
22 }   //namespace sk_app
23