11 #include "utils/BufferObject.h" 23 static std::unique_ptr<CBufferObject> Create();
24 static void Register();
32 std::string
GetName()
const override {
return "CDMAHeapBufferObject"; }
37 uint8_t* m_map{
nullptr};
Definition: DMAHeapBufferObject.h:16
uint8_t * GetMemory() override
Get the Memory location of the BufferObject.
Definition: DMAHeapBufferObject.cpp:156
std::string GetName() const override
Get the Name of the BufferObject type in use.
Definition: DMAHeapBufferObject.h:32
base class for using the IBufferObject interface.
Definition: BufferObject.h:21
bool CreateBufferObject(uint32_t format, uint32_t width, uint32_t height) override
Create a BufferObject based on the format, width, and height of the desired buffer.
Definition: DMAHeapBufferObject.cpp:76
void ReleaseMemory() override
Release the mapped memory of the BufferObject.
Definition: DMAHeapBufferObject.cpp:179
void DestroyBufferObject() override
Destroy a BufferObject.
Definition: DMAHeapBufferObject.cpp:141