#ifndef SkSpecialImageGanesh_DEFINED
#define SkSpecialImageGanesh_DEFINED
#include "include/core/SkRefCnt.h"
#include "src/gpu/ganesh/GrColorInfo.h"
#include "src/gpu/ganesh/GrSurfaceProxyView.h"
#include <cstdint>
class GrRecordingContext;
class SkImage;
class SkSpecialImage;
class SkSurfaceProps;
struct SkIRect;
namespace SkSpecialImages {
sk_sp<SkSpecialImage> MakeFromTextureImage(GrRecordingContext* rContext,
const SkIRect& subset,
sk_sp<SkImage> image,
const SkSurfaceProps& props);
sk_sp<SkSpecialImage> MakeDeferredFromGpu(GrRecordingContext*,
const SkIRect& subset,
uint32_t uniqueID,
GrSurfaceProxyView,
const GrColorInfo&,
const SkSurfaceProps&);
GrSurfaceProxyView AsView(GrRecordingContext*, const SkSpecialImage*);
inline GrSurfaceProxyView AsView(GrRecordingContext* rContext,
const sk_sp<const SkSpecialImage>& img) { … }
}
#endif