| /* | |
| * Copyright 2022 Google LLC | |
| * | |
| * Use of this source code is governed by a BSD-style license that can be | |
| * found in the LICENSE file. | |
| */ | |
| #ifndef skgpu_graphite_ImageUtils_DEFINED | |
| #define skgpu_graphite_ImageUtils_DEFINED | |
| #include "include/core/SkRefCnt.h" | |
| class SkImage; | |
| struct SkSamplingOptions; | |
| namespace skgpu::graphite { | |
| class Recorder; | |
| std::pair<sk_sp<SkImage>, SkSamplingOptions> GetGraphiteBacked(Recorder*, | |
| const SkImage*, | |
| SkSamplingOptions); | |
| } // namespace skgpu::graphite | |
| #endif // skgpu_graphite_ImageUtils_DEFINED |