5#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_RENDER_TARGET_IMPELLER_H_
6#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_RENDER_TARGET_IMPELLER_H_
8#include "flutter/shell/platform/embedder/embedder_render_target.h"
16 std::shared_ptr<impeller::AiksContext> aiks_context,
17 std::unique_ptr<impeller::RenderTarget> impeller_target,
31 std::shared_ptr<impeller::AiksContext>
GetAiksContext()
const override;
37 std::shared_ptr<impeller::AiksContext> aiks_context_;
38 std::unique_ptr<impeller::RenderTarget> impeller_target_;
~EmbedderRenderTargetImpeller() override
sk_sp< SkSurface > GetSkiaSurface() const override
A render surface the rasterizer can use to draw into the backing store of this render target.
impeller::RenderTarget * GetImpellerRenderTarget() const override
An impeller render target the rasterizer can use to draw into the backing store.
SkISize GetRenderTargetSize() const override
Returns the size of the 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...
EmbedderRenderTargetImpeller(FlutterBackingStore backing_store, std::shared_ptr< impeller::AiksContext > aiks_context, std::unique_ptr< impeller::RenderTarget > impeller_target, fml::closure on_release, fml::closure framebuffer_destruction_callback)
Describes a surface whose backing store is managed by the embedder. The type of surface depends on th...
std::function< void()> closure