• 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 #if defined(SK_GRAPHITE)
12 #include "include/gpu/graphite/Context.h"
13 #include "include/gpu/graphite/Recorder.h"
14 #endif
15 
16 namespace sk_app {
17 
WindowContext(const DisplayParams & params)18 WindowContext::WindowContext(const DisplayParams& params)
19         : fDisplayParams(params) {}
20 
~WindowContext()21 WindowContext::~WindowContext() {}
22 
23 }   //namespace sk_app
24