summaryrefslogtreecommitdiff
path: root/kms++/inc
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2020-10-07 08:43:10 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2020-10-09 15:54:43 +0300
commitb5f865b92566e4205770b63ba713c41c4edb5da3 (patch)
tree282cb9cbb84f35b0af124b10ec6646b955395899 /kms++/inc
parentb121eeaf11b28c7cecfeb533499abf05130816b4 (diff)
dmabuffb: add constructor which takes in string fourcc
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'kms++/inc')
-rw-r--r--kms++/inc/kms++/dmabufframebuffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kms++/inc/kms++/dmabufframebuffer.h b/kms++/inc/kms++/dmabufframebuffer.h
index 2596d30..328dd2b 100644
--- a/kms++/inc/kms++/dmabufframebuffer.h
+++ b/kms++/inc/kms++/dmabufframebuffer.h
@@ -12,6 +12,8 @@ namespace kms
class DmabufFramebuffer : public Framebuffer
{
public:
+ DmabufFramebuffer(Card& card, uint32_t width, uint32_t height, const std::string& format,
+ std::vector<int> fds, std::vector<uint32_t> pitches, std::vector<uint32_t> offsets, std::vector<uint64_t> modifiers = {});
DmabufFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format,
std::vector<int> fds, std::vector<uint32_t> pitches, std::vector<uint32_t> offsets, std::vector<uint64_t> modifiers = {});
~DmabufFramebuffer() override;