5#include "flutter/shell/platform/embedder/embedder_render_target_skia.h"
7#include "flutter/fml/logging.h"
16 render_surface_(
std::move(render_surface)) {
23 return render_surface_;
31std::shared_ptr<impeller::AiksContext>
impeller::RenderTarget * GetImpellerRenderTarget() const override
An impeller render target the rasterizer can use to draw into the backing store.
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...
EmbedderRenderTargetSkia(FlutterBackingStore backing_store, sk_sp< SkSurface > render_surface, fml::closure on_release)
sk_sp< SkSurface > GetSkiaSurface() const override
A render surface the rasterizer can use to draw into the backing store of this render target.
SkISize GetRenderTargetSize() const override
Returns the size of the render target.
~EmbedderRenderTargetSkia() override
Describes a surface whose backing store is managed by the embedder. The type of surface depends on th...
#define FML_DCHECK(condition)
std::function< void()> closure
static constexpr SkISize Make(int32_t w, int32_t h)