A cache used to reference render targets that are owned by the embedder but needed by th engine to render a frame. More...
#include <embedder_render_target_cache.h>
Public Member Functions | |
| EmbedderRenderTargetCache () | |
| ~EmbedderRenderTargetCache () | |
| std::unique_ptr< EmbedderRenderTarget > | GetRenderTarget (const EmbedderExternalView::RenderTargetDescriptor &descriptor) |
| std::set< std::unique_ptr< EmbedderRenderTarget > > | ClearAllRenderTargetsInCache () |
| void | CacheRenderTarget (std::unique_ptr< EmbedderRenderTarget > target) |
| size_t | GetCachedTargetsCount () const |
A cache used to reference render targets that are owned by the embedder but needed by th engine to render a frame.
A map of class is managed by EmbedderExternalViewEmbedder. Each instance of this class manages the cached render targets for a view.
Definition at line 26 of file embedder_render_target_cache.h.
|
default |
|
default |
| void flutter::EmbedderRenderTargetCache::CacheRenderTarget | ( | std::unique_ptr< EmbedderRenderTarget > | target | ) |
Definition at line 35 of file embedder_render_target_cache.cc.
References target.
| std::set< std::unique_ptr< EmbedderRenderTarget > > flutter::EmbedderRenderTargetCache::ClearAllRenderTargetsInCache | ( | ) |
Definition at line 26 of file embedder_render_target_cache.cc.
| size_t flutter::EmbedderRenderTargetCache::GetCachedTargetsCount | ( | ) | const |
Definition at line 45 of file embedder_render_target_cache.cc.
| std::unique_ptr< EmbedderRenderTarget > flutter::EmbedderRenderTargetCache::GetRenderTarget | ( | const EmbedderExternalView::RenderTargetDescriptor & | descriptor | ) |
Definition at line 14 of file embedder_render_target_cache.cc.
References target.