8#ifndef SkSurface_Ganesh_DEFINED
9#define SkSurface_Ganesh_DEFINED
79 bool onWait(
int numSemaphores,
81 bool deleteSemaphoresAfterWait)
override;
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
SkSurface_Base(int width, int height, const SkSurfaceProps *)
SkCanvas * onNewCanvas() override
void onDraw(SkCanvas *canvas, SkScalar x, SkScalar y, const SkSamplingOptions &, const SkPaint *paint) override
GrBackendRenderTarget getBackendRenderTarget(BackendHandleAccess)
bool onCharacterize(GrSurfaceCharacterization *) const override
void onDiscard() override
void onAsyncRescaleAndReadPixels(const SkImageInfo &info, SkIRect srcRect, RescaleGamma rescaleGamma, RescaleMode, ReadPixelsCallback callback, ReadPixelsContext context) override
sk_sp< SkSurface > onNewSurface(const SkImageInfo &) override
SkSurface_Base::Type type() const override
bool replaceBackendTexture(const GrBackendTexture &, GrSurfaceOrigin, ContentChangeMode, TextureReleaseProc, ReleaseContext) override
GrRecordingContext * onGetRecordingContext() const override
sk_sp< SkImage > onNewImageSnapshot(const SkIRect *subset) override
~SkSurface_Ganesh() override
void onWritePixels(const SkPixmap &, int x, int y) override
GrBackendTexture getBackendTexture(BackendHandleAccess)
bool onCopyOnWrite(ContentChangeMode) override
void onAsyncRescaleAndReadPixelsYUV420(SkYUVColorSpace yuvColorSpace, bool readAlpha, sk_sp< SkColorSpace > dstColorSpace, SkIRect srcRect, SkISize dstSize, RescaleGamma rescaleGamma, RescaleMode, ReadPixelsCallback callback, ReadPixelsContext context) override
SkImageInfo imageInfo() const override
skgpu::ganesh::Device * getDevice()
bool draw(sk_sp< const GrDeferredDisplayList >)
bool onWait(int numSemaphores, const GrBackendSemaphore *waitSemaphores, bool deleteSemaphoresAfterWait) override
sk_sp< const SkCapabilities > onCapabilities() override
SkSurface_Ganesh(sk_sp< skgpu::ganesh::Device >)
bool onIsCompatible(const GrSurfaceCharacterization &) const override
void(*)(ReleaseContext) TextureReleaseProc
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
SkImage::ReadPixelsContext ReadPixelsContext
SkImage::ReadPixelsCallback ReadPixelsCallback