Public Member Functions | |
| TestRenderTargetAllocator (std::shared_ptr< Allocator > allocator) | |
| ~TestRenderTargetAllocator ()=default | |
| std::shared_ptr< Texture > | CreateTexture (const TextureDescriptor &desc) override |
| Create a new render target texture, or recycle a previously allocated render target texture. More... | |
| void | Start () override |
| Mark the beginning of a frame workload. More... | |
| void | End () override |
| Mark the end of a frame workload. More... | |
| std::vector< TextureDescriptor > | GetDescriptors () const |
Public Member Functions inherited from impeller::RenderTargetAllocator | |
| RenderTargetAllocator (std::shared_ptr< Allocator > allocator) | |
| virtual | ~RenderTargetAllocator ()=default |
Definition at line 2455 of file entity_unittests.cc.
|
inlineexplicit |
Definition at line 2457 of file entity_unittests.cc.
|
default |
|
inlineoverridevirtual |
Create a new render target texture, or recycle a previously allocated render target texture.
Reimplemented from impeller::RenderTargetAllocator.
Definition at line 2462 of file entity_unittests.cc.
References impeller::RenderTargetAllocator::CreateTexture().
|
inlineoverridevirtual |
Mark the end of a frame workload.
This may be used to deallocate any unused textures.
Reimplemented from impeller::RenderTargetAllocator.
Definition at line 2470 of file entity_unittests.cc.
References impeller::RenderTargetAllocator::End().
|
inline |
Definition at line 2472 of file entity_unittests.cc.
|
inlineoverridevirtual |
Mark the beginning of a frame workload.
This may be used to reset any tracking state on whether or not a particular texture instance is still in use.
Reimplemented from impeller::RenderTargetAllocator.
Definition at line 2468 of file entity_unittests.cc.
References impeller::RenderTargetAllocator::Start().