src/core/SkCPURecorder.cpp
raw| 1 | /* |
| 2 | * Copyright 2025 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 | #include "include/core/SkCPURecorder.h" |
| 8 | |
| 9 | #include "include/core/SkTypes.h" |
| 10 | #include "src/core/SkCPUContextImpl.h" |
| 11 | |
| 12 | #include <memory> |
| 13 | |
| 14 | namespace skcpu { |
| 15 | |
| 16 | Recorder* Recorder::TODO() { |
| 17 | static Recorder* gRecorder = ContextImpl::TODO()->makeRecorder().release(); |
| 18 | return gRecorder; |
| 19 | } |
| 20 | |
| 21 | } // namespace skcpu |