#include "include/core/SkAlphaType.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkColorType.h"
#include "include/core/SkData.h"
#include "include/core/SkImage.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkPixmap.h"
#include "include/core/SkRefCnt.h"
#include "include/private/base/SkMath.h"
#include "src/core/SkCompressedDataUtils.h"
#include "src/core/SkImageFilterTypes.h"
#include "src/core/SkImageFilter_Base.h"
#include "src/core/SkImagePriv.h"
#include "src/image/SkImage_Base.h"
#include "src/image/SkImage_Raster.h"
#include <cstddef>
#include <cstdint>
#include <utility>
class SkImageFilter;
struct SkIPoint;
struct SkIRect;
enum class SkTextureCompressionType;
static bool valid_args(const SkImageInfo& info, size_t rowBytes, size_t* minSize) { … }
namespace SkImages {
sk_sp<SkImage> RasterFromBitmap(const SkBitmap& bm) { … }
sk_sp<SkImage> RasterFromPixmapCopy(const SkPixmap& pmap) { … }
sk_sp<SkImage> RasterFromData(const SkImageInfo& info, sk_sp<SkData> data, size_t rowBytes) { … }
sk_sp<SkImage> MakeWithFilter(sk_sp<SkImage> src,
const SkImageFilter* filter,
const SkIRect& subset,
const SkIRect& clipBounds,
SkIRect* outSubset,
SkIPoint* offset) { … }
sk_sp<SkImage> RasterFromCompressedTextureData(sk_sp<SkData> data,
int width,
int height,
SkTextureCompressionType type) { … }
sk_sp<SkImage> RasterFromPixmap(const SkPixmap& pmap, RasterReleaseProc proc, ReleaseContext ctx) { … }
}
sk_sp<SkImage> MakeRasterCopyPriv(const SkPixmap& pmap, uint32_t id) { … }