Flutter Engine
The Flutter Engine
SpecialImage_Graphite.h
Go to the documentation of this file.
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_SpecialImage_Graphite_DEFINED
9#define skgpu_graphite_SpecialImage_Graphite_DEFINED
10
14
15#include <cstdint>
16
17class SkColorInfo;
18class SkImage;
19class SkSurfaceProps;
20struct SkIRect;
21struct SkImageInfo;
22
23namespace skgpu::graphite {
24class Recorder;
25class TextureProxyView;
26} // namespace skgpu::graphite
27
28namespace SkSpecialImages {
29
31 const SkIRect& subset,
33 const SkSurfaceProps&);
34
35} // namespace SkSpecialImages
36
37#endif
sk_sp< SkSpecialImage > MakeGraphite(skgpu::graphite::Recorder *recorder, const SkIRect &subset, sk_sp< SkImage > image, const SkSurfaceProps &props)
Definition: SkRect.h:32