Public Member Functions | |
| TestAllocator ()=default | |
| ~TestAllocator ()=default | |
| ISize | GetMaxTextureSizeSupported () const override |
| std::shared_ptr< DeviceBuffer > | OnCreateBuffer (const DeviceBufferDescriptor &desc) override |
| virtual std::shared_ptr< Texture > | OnCreateTexture (const TextureDescriptor &desc) 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 void | DebugTraceMemoryStatistics () const |
| Write debug memory usage information to the dart timeline in debug and profile modes. More... | |
| virtual Bytes | DebugGetHeapUsage () const |
Public Attributes | |
| bool | should_fail = false |
Additional Inherited Members | |
Protected Member Functions inherited from impeller::Allocator | |
| Allocator () | |
Definition at line 23 of file render_target_cache_unittests.cc.
|
default |
|
default |
|
inlineoverridevirtual |
Implements impeller::Allocator.
Definition at line 29 of file render_target_cache_unittests.cc.
|
inlineoverridevirtual |
Implements impeller::Allocator.
Definition at line 33 of file render_target_cache_unittests.cc.
References should_fail.
|
inlineoverridevirtual |
Implements impeller::Allocator.
Definition at line 41 of file render_target_cache_unittests.cc.
References should_fail.
| bool impeller::testing::TestAllocator::should_fail = false |
Definition at line 49 of file render_target_cache_unittests.cc.
Referenced by OnCreateBuffer(), and OnCreateTexture().