25 #include <sys/ioctl.h> 32 SharedBuffer::SharedBuffer(
size_t size) : m_pFramebuffer(0)
35 m_pFramebuffer->initialise();
38 SharedBuffer::SharedBuffer(
size_t size,
void *handle) : m_pFramebuffer(0)
41 m_pFramebuffer->initialise();
53 return m_pFramebuffer->getHandle();
58 return m_pFramebuffer->getBuffer();