2020-07-10 17:55:21 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2020 Google Inc.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
|
|
* found in the LICENSE file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "tools/sk_app/WindowContext.h"
|
|
|
|
|
|
|
|
#include "include/gpu/GrDirectContext.h"
|
2021-09-30 20:27:30 +00:00
|
|
|
#ifdef SK_GRAPHITE_ENABLED
|
|
|
|
#include "experimental/graphite/include/Context.h"
|
2022-01-14 18:41:29 +00:00
|
|
|
#include "experimental/graphite/include/Recorder.h"
|
2021-09-30 20:27:30 +00:00
|
|
|
#endif
|
2020-07-10 17:55:21 +00:00
|
|
|
|
|
|
|
namespace sk_app {
|
|
|
|
|
|
|
|
WindowContext::WindowContext(const DisplayParams& params)
|
2021-09-30 20:27:30 +00:00
|
|
|
: fDisplayParams(params) {}
|
2020-07-10 17:55:21 +00:00
|
|
|
|
|
|
|
WindowContext::~WindowContext() {}
|
|
|
|
|
|
|
|
} //namespace sk_app
|