diff options
Diffstat (limited to 'libkms++/dumbframebuffer.h')
-rw-r--r-- | libkms++/dumbframebuffer.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libkms++/dumbframebuffer.h b/libkms++/dumbframebuffer.h index 51f5123..c221421 100644 --- a/libkms++/dumbframebuffer.h +++ b/libkms++/dumbframebuffer.h @@ -16,14 +16,12 @@ public: unsigned num_planes() const { return m_num_planes; } uint32_t handle(unsigned plane) const { return m_planes[plane].handle; } - uint8_t* map(unsigned plane) const { return m_planes[plane].map; } uint32_t stride(unsigned plane) const { return m_planes[plane].stride; } uint32_t size(unsigned plane) const { return m_planes[plane].size; } uint32_t offset(unsigned plane) const { return m_planes[plane].offset; } + uint8_t* map(unsigned plane); uint32_t prime_fd(unsigned plane); - void clear(); - private: struct FramebufferPlane { uint32_t handle; |