/* * Copyright 2025 Google LLC * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "include/core/SkCPUContext.h" #include "include/core/SkTypes.h" #include "src/core/SkCPUContextImpl.h" #include "src/core/SkCPURecorderImpl.h" namespace skcpu { std::unique_ptr Context::Make(const Context::Options& opts) { return std::make_unique(); } std::unique_ptr Context::Make() { return Context::Make({}); } std::unique_ptr Context::makeRecorder() const { return std::make_unique(static_cast(this)); } const ContextImpl* ContextImpl::TODO() { static const ContextImpl* gContext = static_cast(Context::Make().release()); return gContext; } } // namespace skcpu