From b5f865b92566e4205770b63ba713c41c4edb5da3 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Wed, 7 Oct 2020 08:43:10 +0300 Subject: dmabuffb: add constructor which takes in string fourcc Signed-off-by: Tomi Valkeinen --- kms++/inc/kms++/dmabufframebuffer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kms++/inc') 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 fds, std::vector pitches, std::vector offsets, std::vector modifiers = {}); DmabufFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format, std::vector fds, std::vector pitches, std::vector offsets, std::vector modifiers = {}); ~DmabufFramebuffer() override; -- cgit v1.2.3