5#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_RENDER_TARGET_SKIA_H_
6#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_RENDER_TARGET_SKIA_H_
15 sk_sp<SkSurface> render_surface,
30 std::shared_ptr<impeller::AiksContext>
GetAiksContext()
const override;
42 sk_sp<SkSurface> render_surface_;
Describes a surface whose backing store is managed by the embedder. The type of surface depends on th...
std::function< SetCurrentResult()> MakeOrClearCurrentCallback
impeller::RenderTarget * GetImpellerRenderTarget() const override
An impeller render target the rasterizer can use to draw into the backing store.
SetCurrentResult MaybeClearCurrent() const override
Clear the current render target.
std::shared_ptr< impeller::AiksContext > GetAiksContext() const override
Returns the AiksContext that should be used for rendering, if this render target is backed by Impelle...
DlISize GetRenderTargetSize() const override
Returns the size of the render target.
SetCurrentResult MaybeMakeCurrent() const override
Make the render target current.
sk_sp< SkSurface > GetSkiaSurface() const override
A render surface the rasterizer can use to draw into the backing store of this render target.
~EmbedderRenderTargetSkia() override
#define FML_DISALLOW_COPY_AND_ASSIGN(TypeName)
std::function< void()> closure