Flutter Engine
The Flutter Engine
|
#include <device_buffer_vk.h>
Public Member Functions | |
DeviceBufferVK (DeviceBufferDescriptor desc, std::weak_ptr< Context > context, UniqueBufferVMA buffer, VmaAllocationInfo info) | |
~DeviceBufferVK () override | |
vk::Buffer | GetBuffer () const |
Public Member Functions inherited from impeller::DeviceBuffer | |
virtual | ~DeviceBuffer () |
bool | CopyHostBuffer (const uint8_t *source, Range source_range, size_t offset=0u) |
virtual bool | SetLabel (const std::string &label)=0 |
virtual bool | SetLabel (const std::string &label, Range range)=0 |
const DeviceBufferDescriptor & | GetDeviceBufferDescriptor () const |
virtual uint8_t * | OnGetContents () const =0 |
virtual void | Flush (std::optional< Range > range=std::nullopt) const |
virtual void | Invalidate (std::optional< Range > range=std::nullopt) const |
Friends | |
class | AllocatorVK |
Additional Inherited Members | |
Static Public Member Functions inherited from impeller::DeviceBuffer | |
static BufferView | AsBufferView (std::shared_ptr< DeviceBuffer > buffer) |
Create a buffer view of this entire buffer. More... | |
Static Public Member Functions inherited from impeller::BackendCast< DeviceBufferVK, DeviceBuffer > | |
static DeviceBufferVK & | Cast (DeviceBuffer &base) |
static const DeviceBufferVK & | Cast (const DeviceBuffer &base) |
static DeviceBufferVK * | Cast (DeviceBuffer *base) |
static const DeviceBufferVK * | Cast (const DeviceBuffer *base) |
Protected Member Functions inherited from impeller::DeviceBuffer | |
DeviceBuffer (DeviceBufferDescriptor desc) | |
virtual bool | OnCopyHostBuffer (const uint8_t *source, Range source_range, size_t offset)=0 |
Protected Attributes inherited from impeller::DeviceBuffer | |
const DeviceBufferDescriptor | desc_ |
Definition at line 17 of file device_buffer_vk.h.
impeller::DeviceBufferVK::DeviceBufferVK | ( | DeviceBufferDescriptor | desc, |
std::weak_ptr< Context > | context, | ||
UniqueBufferVMA | buffer, | ||
VmaAllocationInfo | info | ||
) |
Definition at line 14 of file device_buffer_vk.cc.
|
overridedefault |
vk::Buffer impeller::DeviceBufferVK::GetBuffer | ( | ) | const |
Definition at line 86 of file device_buffer_vk.cc.
|
friend |
Definition at line 31 of file device_buffer_vk.h.