1 /* 2 * Copyright 2023 Google LLC 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/window/SkWindowContext.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 SkWindowContext(const SkDisplayParams & params)16SkWindowContext::SkWindowContext(const SkDisplayParams& params) 17 : fDisplayParams(params) {} 18 ~SkWindowContext()19SkWindowContext::~SkWindowContext() {} 20