|
| SkImage_GaneshYUVA (sk_sp< GrImageContext >, uint32_t uniqueID, GrYUVATextureProxies proxies, sk_sp< SkColorSpace >) |
|
size_t | textureSize () const override |
|
SkImage_Base::Type | type () const override |
|
bool | onHasMipmaps () const override |
|
bool | onIsProtected () const override |
|
sk_sp< SkImage > | onMakeColorTypeAndColorSpace (SkColorType, sk_sp< SkColorSpace >, GrDirectContext *) const final |
|
sk_sp< SkImage > | onReinterpretColorSpace (sk_sp< SkColorSpace >) const final |
|
GrSemaphoresSubmitted | flush (GrDirectContext *, const GrFlushInfo &) const override |
|
std::tuple< GrSurfaceProxyView, GrColorType > | asView (GrRecordingContext *, skgpu::Mipmapped, GrImageTexGenPolicy) const override |
|
std::unique_ptr< GrFragmentProcessor > | asFragmentProcessor (GrRecordingContext *, SkSamplingOptions, const SkTileMode[2], const SkMatrix &, const SkRect *, const SkRect *) const override |
|
bool | setupMipmapsForPlanes (GrRecordingContext *) const |
|
GrSurfaceOrigin | origin () const override |
|
virtual sk_sp< SkImage > | onMakeColorTypeAndColorSpace (SkColorType, sk_sp< SkColorSpace >, GrDirectContext *) const =0 |
|
bool | isValid (GrRecordingContext *) const final |
|
sk_sp< SkImage > | makeColorTypeAndColorSpace (GrDirectContext *dContext, SkColorType targetColorType, sk_sp< SkColorSpace > targetCS) const final |
|
sk_sp< SkImage > | makeSubset (GrDirectContext *direct, const SkIRect &subset) const final |
|
GrImageContext * | context () const final |
|
GrDirectContext * | directContext () const final |
|
bool | getROPixels (GrDirectContext *, SkBitmap *, CachingHint) const final |
|
sk_sp< SkImage > | onMakeSubset (GrDirectContext *, const SkIRect &subset) const final |
|
bool | onReadPixels (GrDirectContext *dContext, const SkImageInfo &dstInfo, void *dstPixels, size_t dstRB, int srcX, int srcY, CachingHint) const override |
|
| ~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 > | makeSubset (skgpu::graphite::Recorder *, const SkIRect &, RequiredProperties) const override |
|
virtual bool | onPeekPixels (SkPixmap *) const |
|
virtual const SkBitmap * | onPeekBitmap () const |
|
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 void | generatingSurfaceIsDeleted () |
|
virtual sk_sp< SkData > | onRefEncoded () const |
|
virtual bool | onAsLegacyBitmap (GrDirectContext *, SkBitmap *) const |
|
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 > | onMakeWithMipmaps (sk_sp< SkMipmap >) const |
|
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 |
|
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 |
|
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 |
|
sk_sp< SkImage > | reinterpretColorSpace (sk_sp< SkColorSpace > newColorSpace) const |
|
| SkRefCntBase () |
|
virtual | ~SkRefCntBase () |
|
bool | unique () const |
|
void | ref () const |
|
void | unref () const |
|
|
enum class | Type {
kRaster
, kRasterPinnable
, kLazy
, kLazyPicture
,
kGanesh
, kGaneshYUVA
, kGraphite
, kGraphiteYUVA
} |
|
enum | CachingHint { kAllow_CachingHint
, kDisallow_CachingHint
} |
|
enum class | RescaleGamma : bool { kSrc
, kLinear
} |
|
enum class | RescaleMode { kNearest
, kLinear
, kRepeatedLinear
, kRepeatedCubic
} |
|
enum | LegacyBitmapMode { kRO_LegacyBitmapMode
} |
|
using | ReadPixelsContext = void * |
|
using | ReadPixelsCallback = void(ReadPixelsContext, std::unique_ptr< const AsyncReadResult >) |
|
static bool | ValidateBackendTexture (const GrCaps *, const GrBackendTexture &tex, GrColorType grCT, SkColorType ct, SkAlphaType at, sk_sp< SkColorSpace > cs) |
|
static bool | ValidateCompressedBackendTexture (const GrCaps *, const GrBackendTexture &tex, SkAlphaType) |
|
static sk_sp< GrTextureProxy > | MakePromiseImageLazyProxy (GrContextThreadSafeProxy *, SkISize dimensions, const GrBackendFormat &, skgpu::Mipmapped, SkImages::PromiseImageTextureFulfillProc, sk_sp< skgpu::RefCntedCallback > releaseHelper) |
|
| SkImage_GaneshBase (sk_sp< GrImageContext >, SkImageInfo, uint32_t uniqueID) |
|
sk_sp< SkImage > | onMakeSubset (skgpu::graphite::Recorder *, const SkIRect &subset, RequiredProperties) const final |
|
sk_sp< SkImage > | makeColorTypeAndColorSpace (skgpu::graphite::Recorder *, SkColorType, sk_sp< SkColorSpace >, RequiredProperties) const final |
|
| SkImage_Base (const SkImageInfo &info, uint32_t uniqueID) |
|
sk_sp< GrImageContext > | fContext |
|
Definition at line 47 of file SkImage_GaneshYUVA.h.