• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2022 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 #ifndef skgpu_graphite_ImageUtils_DEFINED
9 #define skgpu_graphite_ImageUtils_DEFINED
10 
11 #include "include/core/SkRefCnt.h"
12 
13 class SkImage;
14 struct SkSamplingOptions;
15 
16 namespace skgpu::graphite {
17 
18 class Recorder;
19 
20 std::pair<sk_sp<SkImage>, SkSamplingOptions> GetGraphiteBacked(Recorder*,
21                                                                const SkImage*,
22                                                                SkSamplingOptions);
23 
24 } // namespace skgpu::graphite
25 
26 #endif // skgpu_graphite_ImageUtils_DEFINED
27