Flutter Engine
The Flutter Engine
|
#include <allocator_mtl.h>
Public Member Functions | |
AllocatorMTL () | |
~AllocatorMTL () override | |
Public Member Functions inherited from impeller::Allocator | |
virtual | ~Allocator () |
bool | IsValid () const |
std::shared_ptr< DeviceBuffer > | CreateBuffer (const DeviceBufferDescriptor &desc) |
std::shared_ptr< Texture > | CreateTexture (const TextureDescriptor &desc) |
virtual uint16_t | MinimumBytesPerRow (PixelFormat format) const |
Minimum value for row_bytes on a Texture. The row bytes parameter of that method must be aligned to this value. More... | |
std::shared_ptr< DeviceBuffer > | CreateBufferWithCopy (const uint8_t *buffer, size_t length) |
std::shared_ptr< DeviceBuffer > | CreateBufferWithCopy (const fml::Mapping &mapping) |
virtual ISize | GetMaxTextureSizeSupported () const =0 |
virtual void | DebugTraceMemoryStatistics () const |
Write debug memory usage information to the dart timeline in debug and profile modes. More... | |
Friends | |
class | ContextMTL |
Additional Inherited Members | |
Protected Member Functions inherited from impeller::Allocator | |
Allocator () | |
virtual std::shared_ptr< DeviceBuffer > | OnCreateBuffer (const DeviceBufferDescriptor &desc)=0 |
virtual std::shared_ptr< Texture > | OnCreateTexture (const TextureDescriptor &desc)=0 |
Definition at line 14 of file allocator_mtl.h.
impeller::AllocatorMTL::AllocatorMTL | ( | ) |
|
overridedefault |
|
friend |
Definition at line 22 of file allocator_mtl.h.