|
| | MOCK_METHOD (ISize, GetMaxTextureSizeSupported,(),(const, override)) |
| |
| | MOCK_METHOD (std::shared_ptr< DeviceBuffer >, OnCreateBuffer,(const DeviceBufferDescriptor &desc),(override)) |
| |
| | MOCK_METHOD (std::shared_ptr< Texture >, OnCreateTexture,(const TextureDescriptor &desc, bool threadsafe),(override)) |
| |
| virtual | ~Allocator () |
| |
| bool | IsValid () const |
| |
| std::shared_ptr< DeviceBuffer > | CreateBuffer (const DeviceBufferDescriptor &desc) |
| |
| std::shared_ptr< Texture > | CreateTexture (const TextureDescriptor &desc, bool threadsafe=false) |
| | Creates a new texture.
|
| |
| 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.
|
| |
| 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.
|
| |
| virtual Bytes | DebugGetHeapUsage () const |
| |
Definition at line 47 of file mocks.h.