#include "src/gpu/ganesh/image/SkImage_RasterPinnable.h"
#include "include/android/SkImageAndroid.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkImage.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkTypes.h"
#include "include/gpu/GpuTypes.h"
#include "include/gpu/ganesh/GrRecordingContext.h"
#include "src/core/SkImageInfoPriv.h"
#include "src/gpu/ganesh/GrRecordingContextPriv.h"
#include "src/gpu/ganesh/GrSurfaceProxyView.h"
#include "src/gpu/ganesh/SkGr.h"
#include "src/gpu/ganesh/image/GrImageUtils.h"
#include "src/image/SkImage_Base.h"
#include <memory>
#include <tuple>
std::tuple<GrSurfaceProxyView, GrColorType> SkImage_RasterPinnable::asView(
GrRecordingContext* rContext,
skgpu::Mipmapped mipmapped,
GrImageTexGenPolicy policy) const { … }
namespace SkImages {
sk_sp<SkImage> PinnableRasterFromBitmap(const SkBitmap& bm) { … }
}
namespace skgpu::ganesh {
bool PinAsTexture(GrRecordingContext* rContext, SkImage* img) { … }
void UnpinTexture(GrRecordingContext*, SkImage* img) { … }
}