Flutter Engine
The Flutter Engine
|
#include <embedder_render_target_impeller.h>
Public Member Functions | |
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) | |
~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. More... | |
impeller::RenderTarget * | GetImpellerRenderTarget () const override |
An impeller render target the rasterizer can use to draw into the backing store. More... | |
std::shared_ptr< impeller::AiksContext > | GetAiksContext () const override |
Returns the AiksContext that should be used for rendering, if this render target is backed by Impeller. More... | |
SkISize | GetRenderTargetSize () const override |
Returns the size of the render target. More... | |
Public Member Functions inherited from flutter::EmbedderRenderTarget | |
virtual | ~EmbedderRenderTarget () |
Destroys this instance of the render target and invokes the callback for the embedder to release its resource associated with the particular backing store. More... | |
virtual sk_sp< SkSurface > | GetSkiaSurface () const =0 |
A render surface the rasterizer can use to draw into the backing store of this render target. More... | |
virtual impeller::RenderTarget * | GetImpellerRenderTarget () const =0 |
An impeller render target the rasterizer can use to draw into the backing store. More... | |
virtual std::shared_ptr< impeller::AiksContext > | GetAiksContext () const =0 |
Returns the AiksContext that should be used for rendering, if this render target is backed by Impeller. More... | |
virtual SkISize | GetRenderTargetSize () const =0 |
Returns the size of the render target. More... | |
const FlutterBackingStore * | GetBackingStore () const |
The embedder backing store descriptor. This is the descriptor that was given to the engine by the embedder. This descriptor may contain context the embedder can use to associate it resources with the compositor layers when they are given back to it in present callback. The engine does not use this in any way. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from flutter::EmbedderRenderTarget | |
EmbedderRenderTarget (FlutterBackingStore backing_store, fml::closure on_release) | |
Creates a render target whose backing store is managed by the embedder. The way this render target is exposed to the engine is via an SkSurface and a callback that is invoked by this object in its destructor. More... | |
Definition at line 12 of file embedder_render_target_impeller.h.
flutter::EmbedderRenderTargetImpeller::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 | ||
) |
Definition at line 12 of file embedder_render_target_impeller.cc.
|
override |
Definition at line 27 of file embedder_render_target_impeller.cc.
|
overridevirtual |
Returns the AiksContext that should be used for rendering, if this render target is backed by Impeller.
Implements flutter::EmbedderRenderTarget.
Definition at line 43 of file embedder_render_target_impeller.cc.
|
overridevirtual |
An impeller render target the rasterizer can use to draw into the backing store.
Implements flutter::EmbedderRenderTarget.
Definition at line 37 of file embedder_render_target_impeller.cc.
|
overridevirtual |
Returns the size of the render target.
Implements flutter::EmbedderRenderTarget.
Definition at line 47 of file embedder_render_target_impeller.cc.
A render surface the rasterizer can use to draw into the backing store of this render target.
Implements flutter::EmbedderRenderTarget.
Definition at line 33 of file embedder_render_target_impeller.cc.