Public Member Functions | |
FailingAllocator (std::shared_ptr< Allocator > delegate) | |
~FailingAllocator ()=default | |
std::shared_ptr< DeviceBuffer > | OnCreateBuffer (const DeviceBufferDescriptor &desc) |
std::shared_ptr< Texture > | OnCreateTexture (const TextureDescriptor &desc) |
ISize | GetMaxTextureSizeSupported () const override |
![]() | |
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 void | DebugTraceMemoryStatistics () const |
Write debug memory usage information to the dart timeline in debug and profile modes. More... | |
virtual Bytes | DebugGetHeapUsage () const |
Additional Inherited Members | |
![]() | |
Allocator () | |
Definition at line 193 of file host_buffer_unittests.cc.
|
inlineexplicit |
Definition at line 195 of file host_buffer_unittests.cc.
|
default |
|
inlineoverridevirtual |
Implements impeller::Allocator.
Definition at line 213 of file host_buffer_unittests.cc.
|
inlinevirtual |
Implements impeller::Allocator.
Definition at line 200 of file host_buffer_unittests.cc.
References impeller::testing::kMagicFailingAllocation, and impeller::DeviceBufferDescriptor::size.
|
inlinevirtual |
Implements impeller::Allocator.
Definition at line 209 of file host_buffer_unittests.cc.