summaryrefslogtreecommitdiff
path: root/kms++/inc/kms++/dmabufframebuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'kms++/inc/kms++/dmabufframebuffer.h')
-rw-r--r--kms++/inc/kms++/dmabufframebuffer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/kms++/inc/kms++/dmabufframebuffer.h b/kms++/inc/kms++/dmabufframebuffer.h
index 494aa97..95460cb 100644
--- a/kms++/inc/kms++/dmabufframebuffer.h
+++ b/kms++/inc/kms++/dmabufframebuffer.h
@@ -27,6 +27,9 @@ public:
uint8_t* map(unsigned plane);
int prime_fd(unsigned plane);
+ void begin_cpu_access(CpuAccess access);
+ void end_cpu_access();
+
private:
struct FramebufferPlane {
uint32_t handle;
@@ -41,6 +44,8 @@ private:
struct FramebufferPlane m_planes[4];
PixelFormat m_format;
+
+ uint32_t m_sync_flags = 0;
};
}