Flutter Engine
The Flutter Engine
Classes | Namespaces | Typedefs | Enumerations | Functions
SkImage.h File Reference
#include "include/core/SkAlphaType.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSize.h"
#include "include/private/base/SkAPI.h"
#include <cstddef>
#include <cstdint>
#include <memory>
#include <optional>

Go to the source code of this file.

Classes

class  SkImage
 
class  SkImage::AsyncReadResult
 
struct  SkImage::RequiredProperties
 

Namespaces

namespace  skgpu
 
namespace  skgpu::graphite
 
namespace  SkImages
 

Typedefs

using SkImages::ReleaseContext = void *
 
using SkImages::RasterReleaseProc = void(const void *pixels, ReleaseContext)
 

Enumerations

enum class  SkImages::BitDepth { SkImages::kU8 , SkImages::kF16 }
 

Functions

SK_API sk_sp< SkImageSkImages::RasterFromBitmap (const SkBitmap &bitmap)
 
SK_API sk_sp< SkImageSkImages::RasterFromCompressedTextureData (sk_sp< SkData > data, int width, int height, SkTextureCompressionType type)
 
SK_API sk_sp< SkImageSkImages::DeferredFromEncodedData (sk_sp< SkData > encoded, std::optional< SkAlphaType > alphaType=std::nullopt)
 
SK_API sk_sp< SkImageSkImages::DeferredFromGenerator (std::unique_ptr< SkImageGenerator > imageGenerator)
 
SK_API sk_sp< SkImageSkImages::DeferredFromPicture (sk_sp< SkPicture > picture, const SkISize &dimensions, const SkMatrix *matrix, const SkPaint *paint, BitDepth bitDepth, sk_sp< SkColorSpace > colorSpace, SkSurfaceProps props)
 
SK_API sk_sp< SkImageSkImages::DeferredFromPicture (sk_sp< SkPicture > picture, const SkISize &dimensions, const SkMatrix *matrix, const SkPaint *paint, BitDepth bitDepth, sk_sp< SkColorSpace > colorSpace)
 
SK_API sk_sp< SkImageSkImages::RasterFromPixmapCopy (const SkPixmap &pixmap)
 
SK_API sk_sp< SkImageSkImages::RasterFromPixmap (const SkPixmap &pixmap, RasterReleaseProc rasterReleaseProc, ReleaseContext releaseContext)
 
SK_API sk_sp< SkImageSkImages::RasterFromData (const SkImageInfo &info, sk_sp< SkData > pixels, size_t rowBytes)
 
SK_API sk_sp< SkImageSkImages::MakeWithFilter (sk_sp< SkImage > src, const SkImageFilter *filter, const SkIRect &subset, const SkIRect &clipBounds, SkIRect *outSubset, SkIPoint *offset)