|
SK_API sk_sp< SkImage > | SkImages::RasterFromBitmap (const SkBitmap &bitmap) |
| Creates a CPU-backed SkImage from bitmap, sharing or copying bitmap pixels. More...
|
|
SK_API sk_sp< SkImage > | SkImages::RasterFromCompressedTextureData (sk_sp< SkData > data, int width, int height, SkTextureCompressionType type) |
| Creates a CPU-backed SkImage from compressed data. More...
|
|
SK_API sk_sp< SkImage > | SkImages::DeferredFromEncodedData (sk_sp< SkData > encoded, std::optional< SkAlphaType > alphaType=std::nullopt) |
| Return a SkImage using the encoded data, but attempts to defer decoding until the image is actually used/drawn. More...
|
|
SK_API sk_sp< SkImage > | SkImages::DeferredFromGenerator (std::unique_ptr< SkImageGenerator > imageGenerator) |
| Creates SkImage from data returned by imageGenerator. More...
|
|
SK_API sk_sp< SkImage > | SkImages::DeferredFromPicture (sk_sp< SkPicture > picture, const SkISize &dimensions, const SkMatrix *matrix, const SkPaint *paint, BitDepth bitDepth, sk_sp< SkColorSpace > colorSpace, SkSurfaceProps props) |
| Creates SkImage from picture. More...
|
|
SK_API sk_sp< SkImage > | SkImages::DeferredFromPicture (sk_sp< SkPicture > picture, const SkISize &dimensions, const SkMatrix *matrix, const SkPaint *paint, BitDepth bitDepth, sk_sp< SkColorSpace > colorSpace) |
|
SK_API sk_sp< SkImage > | SkImages::RasterFromPixmapCopy (const SkPixmap &pixmap) |
| Creates a CPU-backed SkImage from pixmap, copying the pixel data. More...
|
|
SK_API sk_sp< SkImage > | SkImages::RasterFromPixmap (const SkPixmap &pixmap, RasterReleaseProc rasterReleaseProc, ReleaseContext releaseContext) |
| Creates CPU-backed SkImage from pixmap, sharing SkPixmap pixels. More...
|
|
SK_API sk_sp< SkImage > | SkImages::RasterFromData (const SkImageInfo &info, sk_sp< SkData > pixels, size_t rowBytes) |
| Creates CPU-backed SkImage from pixel data described by info. More...
|
|
SK_API sk_sp< SkImage > | SkImages::MakeWithFilter (sk_sp< SkImage > src, const SkImageFilter *filter, const SkIRect &subset, const SkIRect &clipBounds, SkIRect *outSubset, SkIPoint *offset) |
| Creates a filtered SkImage on the CPU. More...
|
|