blob: d8e3bbbbae9ca7b3d8ee3bc35b9f8b0c31c92a01 [file] [log] [blame]
/*
* Copyright 2023 Google LLC
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "tools/window/WindowContext.h"
#include "include/gpu/GrDirectContext.h"
#if defined(SK_GRAPHITE)
#include "include/gpu/graphite/Context.h"
#include "include/gpu/graphite/Recorder.h"
#endif
namespace skwindow {
WindowContext::WindowContext(const DisplayParams& params)
: fDisplayParams(params) {}
WindowContext::~WindowContext() {}
void WindowContext::swapBuffers() {
this->onSwapBuffers();
}
} // namespace skwindow