94 virtual int GetFd() = 0;
130 virtual std::string
GetName()
const = 0;
virtual std::string GetName() const =0
Get the Name of the BufferObject type in use.
virtual void SyncStart()=0
Must be called before reading/writing data to the BufferObject.
Interface to describe CBufferObjects.
Definition: IBufferObject.h:39
virtual void SyncEnd()=0
Must be called after reading/writing data to the BufferObject.
virtual void DestroyBufferObject()=0
Destroy a BufferObject.
virtual int GetFd()=0
Get the File Descriptor of the BufferObject.
virtual uint8_t * GetMemory()=0
Get the Memory location of the BufferObject.
virtual void ReleaseMemory()=0
Release the mapped memory of the BufferObject.
virtual uint64_t GetModifier()=0
Get the Modifier of the BufferObject.
virtual bool CreateBufferObject(uint32_t format, uint32_t width, uint32_t height)=0
Create a BufferObject based on the format, width, and height of the desired buffer.
virtual uint32_t GetStride()=0
Get the Stride of the BufferObject.