summaryrefslogtreecommitdiff
path: root/libkms++/dumbframebuffer.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2015-10-31 12:40:00 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-11-13 17:55:48 +0200
commit0f904fb2b2836035bd7564deeb2e115369b73c98 (patch)
tree11fc8665e02e64b967f2fd4b19807636d38a4436 /libkms++/dumbframebuffer.h
parent6642f7c22409f470d195ade8951295a4a6762373 (diff)
dumbfb: lazy mmap
Diffstat (limited to 'libkms++/dumbframebuffer.h')
-rw-r--r--libkms++/dumbframebuffer.h4
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;