|
| SkImage_Raster (const SkImageInfo &, sk_sp< SkData >, size_t rb, uint32_t id=kNeedNewImageUniqueID) |
|
| SkImage_Raster (const SkBitmap &bm, bool bitmapMayBeMutable=false) |
|
| ~SkImage_Raster () override |
|
bool | isValid (GrRecordingContext *context) const override |
|
bool | onReadPixels (GrDirectContext *, const SkImageInfo &, void *, size_t, int srcX, int srcY, CachingHint) const override |
|
bool | onPeekPixels (SkPixmap *) const override |
|
const SkBitmap * | onPeekBitmap () const override |
|
bool | getROPixels (GrDirectContext *, SkBitmap *, CachingHint) const override |
|
sk_sp< SkImage > | onMakeSubset (GrDirectContext *, const SkIRect &) const override |
|
sk_sp< SkImage > | onMakeSubset (skgpu::graphite::Recorder *, const SkIRect &, RequiredProperties) const override |
|
SkPixelRef * | getPixelRef () const |
|
bool | onAsLegacyBitmap (GrDirectContext *, SkBitmap *) const override |
|
sk_sp< SkImage > | onMakeColorTypeAndColorSpace (SkColorType, sk_sp< SkColorSpace >, GrDirectContext *) const override |
|
sk_sp< SkImage > | onReinterpretColorSpace (sk_sp< SkColorSpace >) const override |
|
void | notifyAddedToRasterCache () const override |
|
bool | onHasMipmaps () const override |
|
bool | onIsProtected () const override |
|
SkMipmap * | onPeekMips () const override |
|
sk_sp< SkImage > | onMakeWithMipmaps (sk_sp< SkMipmap > mips) const override |
|
SkImage_Base::Type | type () const override |
|
SkBitmap | bitmap () const |
|
| ~SkImage_Base () override |
|
sk_sp< SkImage > | makeColorSpace (GrDirectContext *, sk_sp< SkColorSpace >) const override |
|
sk_sp< SkImage > | makeColorSpace (skgpu::graphite::Recorder *, sk_sp< SkColorSpace >, RequiredProperties) const override |
|
sk_sp< SkImage > | makeColorTypeAndColorSpace (GrDirectContext *dContext, SkColorType targetColorType, sk_sp< SkColorSpace > targetCS) const override |
|
sk_sp< SkImage > | makeColorTypeAndColorSpace (skgpu::graphite::Recorder *, SkColorType, sk_sp< SkColorSpace >, RequiredProperties) const override |
|
sk_sp< SkImage > | makeSubset (GrDirectContext *direct, const SkIRect &subset) const override |
|
sk_sp< SkImage > | makeSubset (skgpu::graphite::Recorder *, const SkIRect &, RequiredProperties) const override |
|
size_t | textureSize () const override |
|
virtual bool | onPeekPixels (SkPixmap *) const |
|
virtual const SkBitmap * | onPeekBitmap () const |
|
virtual bool | onReadPixels (GrDirectContext *, const SkImageInfo &dstInfo, void *dstPixels, size_t dstRowBytes, int srcX, int srcY, CachingHint) const =0 |
|
virtual bool | onHasMipmaps () const =0 |
|
virtual bool | onIsProtected () const =0 |
|
virtual SkMipmap * | onPeekMips () const |
|
sk_sp< SkMipmap > | refMips () const |
|
virtual void | onAsyncRescaleAndReadPixels (const SkImageInfo &, SkIRect srcRect, RescaleGamma, RescaleMode, ReadPixelsCallback, ReadPixelsContext) const |
|
virtual void | onAsyncRescaleAndReadPixelsYUV420 (SkYUVColorSpace, bool readAlpha, sk_sp< SkColorSpace > dstColorSpace, SkIRect srcRect, SkISize dstSize, RescaleGamma, RescaleMode, ReadPixelsCallback, ReadPixelsContext) const |
|
virtual GrImageContext * | context () const |
|
virtual GrDirectContext * | directContext () const |
|
virtual void | generatingSurfaceIsDeleted () |
|
virtual bool | getROPixels (GrDirectContext *, SkBitmap *, CachingHint=kAllow_CachingHint) const =0 |
|
virtual sk_sp< SkImage > | onMakeSubset (GrDirectContext *, const SkIRect &) const =0 |
|
virtual sk_sp< SkData > | onRefEncoded () const |
|
virtual bool | onAsLegacyBitmap (GrDirectContext *, SkBitmap *) const |
|
virtual Type | type () const =0 |
|
bool | isLazyGenerated () const override |
|
bool | isRasterBacked () const |
|
bool | isGaneshBacked () const |
|
bool | isGraphiteBacked () const |
|
bool | isYUVA () const |
|
bool | isTextureBacked () const override |
|
virtual void | notifyAddedToRasterCache () const |
|
virtual sk_sp< SkImage > | onMakeColorTypeAndColorSpace (SkColorType, sk_sp< SkColorSpace >, GrDirectContext *) const =0 |
|
virtual sk_sp< SkImage > | onReinterpretColorSpace (sk_sp< SkColorSpace >) const =0 |
|
virtual sk_sp< SkImage > | onMakeWithMipmaps (sk_sp< SkMipmap >) const |
|
virtual sk_sp< SkImage > | onMakeSubset (skgpu::graphite::Recorder *, const SkIRect &, RequiredProperties) const =0 |
|
const SkImageInfo & | imageInfo () const |
|
int | width () const |
|
int | height () const |
|
SkISize | dimensions () const |
|
SkIRect | bounds () const |
|
uint32_t | uniqueID () const |
|
SkAlphaType | alphaType () const |
|
SkColorType | colorType () const |
|
SkColorSpace * | colorSpace () const |
|
sk_sp< SkColorSpace > | refColorSpace () const |
|
bool | isAlphaOnly () const |
|
bool | isOpaque () const |
|
sk_sp< SkShader > | makeShader (SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions &, const SkMatrix *localMatrix=nullptr) const |
|
sk_sp< SkShader > | makeShader (SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions &sampling, const SkMatrix &lm) const |
|
sk_sp< SkShader > | makeShader (const SkSamplingOptions &sampling, const SkMatrix &lm) const |
|
sk_sp< SkShader > | makeShader (const SkSamplingOptions &sampling, const SkMatrix *lm=nullptr) const |
|
sk_sp< SkShader > | makeRawShader (SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions &, const SkMatrix *localMatrix=nullptr) const |
|
sk_sp< SkShader > | makeRawShader (SkTileMode tmx, SkTileMode tmy, const SkSamplingOptions &sampling, const SkMatrix &lm) const |
|
sk_sp< SkShader > | makeRawShader (const SkSamplingOptions &sampling, const SkMatrix &lm) const |
|
sk_sp< SkShader > | makeRawShader (const SkSamplingOptions &sampling, const SkMatrix *lm=nullptr) const |
|
bool | peekPixels (SkPixmap *pixmap) const |
|
virtual bool | isTextureBacked () const =0 |
|
virtual size_t | textureSize () const =0 |
|
virtual bool | isValid (GrRecordingContext *context) const =0 |
|
bool | readPixels (GrDirectContext *context, const SkImageInfo &dstInfo, void *dstPixels, size_t dstRowBytes, int srcX, int srcY, CachingHint cachingHint=kAllow_CachingHint) const |
|
bool | readPixels (GrDirectContext *context, const SkPixmap &dst, int srcX, int srcY, CachingHint cachingHint=kAllow_CachingHint) const |
|
bool | readPixels (const SkImageInfo &dstInfo, void *dstPixels, size_t dstRowBytes, int srcX, int srcY, CachingHint cachingHint=kAllow_CachingHint) const |
|
bool | readPixels (const SkPixmap &dst, int srcX, int srcY, CachingHint cachingHint=kAllow_CachingHint) const |
|
void | asyncRescaleAndReadPixels (const SkImageInfo &info, const SkIRect &srcRect, RescaleGamma rescaleGamma, RescaleMode rescaleMode, ReadPixelsCallback callback, ReadPixelsContext context) const |
|
void | asyncRescaleAndReadPixelsYUV420 (SkYUVColorSpace yuvColorSpace, sk_sp< SkColorSpace > dstColorSpace, const SkIRect &srcRect, const SkISize &dstSize, RescaleGamma rescaleGamma, RescaleMode rescaleMode, ReadPixelsCallback callback, ReadPixelsContext context) const |
|
void | asyncRescaleAndReadPixelsYUVA420 (SkYUVColorSpace yuvColorSpace, sk_sp< SkColorSpace > dstColorSpace, const SkIRect &srcRect, const SkISize &dstSize, RescaleGamma rescaleGamma, RescaleMode rescaleMode, ReadPixelsCallback callback, ReadPixelsContext context) const |
|
bool | scalePixels (const SkPixmap &dst, const SkSamplingOptions &, CachingHint cachingHint=kAllow_CachingHint) const |
|
sk_sp< SkData > | refEncodedData () const |
|
virtual sk_sp< SkImage > | makeSubset (GrDirectContext *direct, const SkIRect &subset) const =0 |
|
virtual sk_sp< SkImage > | makeSubset (skgpu::graphite::Recorder *, const SkIRect &subset, RequiredProperties) const =0 |
|
bool | hasMipmaps () const |
|
bool | isProtected () const |
|
sk_sp< SkImage > | withDefaultMipmaps () const |
|
sk_sp< SkImage > | makeNonTextureImage (GrDirectContext *=nullptr) const |
|
sk_sp< SkImage > | makeRasterImage (GrDirectContext *, CachingHint cachingHint=kDisallow_CachingHint) const |
|
sk_sp< SkImage > | makeRasterImage (CachingHint cachingHint=kDisallow_CachingHint) const |
|
bool | asLegacyBitmap (SkBitmap *bitmap, LegacyBitmapMode legacyBitmapMode=kRO_LegacyBitmapMode) const |
|
virtual bool | isLazyGenerated () const =0 |
|
virtual sk_sp< SkImage > | makeColorSpace (GrDirectContext *direct, sk_sp< SkColorSpace > target) const =0 |
|
virtual sk_sp< SkImage > | makeColorSpace (skgpu::graphite::Recorder *, sk_sp< SkColorSpace > targetColorSpace, RequiredProperties) const =0 |
|
virtual sk_sp< SkImage > | makeColorTypeAndColorSpace (GrDirectContext *direct, SkColorType targetColorType, sk_sp< SkColorSpace > targetCS) const =0 |
|
virtual sk_sp< SkImage > | makeColorTypeAndColorSpace (skgpu::graphite::Recorder *, SkColorType targetColorType, sk_sp< SkColorSpace > targetColorSpace, RequiredProperties) const =0 |
|
sk_sp< SkImage > | reinterpretColorSpace (sk_sp< SkColorSpace > newColorSpace) const |
|
| SkRefCntBase () |
|
virtual | ~SkRefCntBase () |
|
bool | unique () const |
|
void | ref () const |
|
void | unref () const |
|
Definition at line 36 of file SkImage_Raster.h.