From 17d180891f1e237ea5d25835999a8b23a6e7946d Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Sat, 11 Jun 2016 20:17:35 +0300 Subject: rename dirs --- libkms++/framebuffer.h | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 libkms++/framebuffer.h (limited to 'libkms++/framebuffer.h') diff --git a/libkms++/framebuffer.h b/libkms++/framebuffer.h deleted file mode 100644 index cbf705d..0000000 --- a/libkms++/framebuffer.h +++ /dev/null @@ -1,40 +0,0 @@ -#pragma once - -#include "drmobject.h" -#include "pixelformats.h" - -namespace kms -{ -class Framebuffer : public DrmObject -{ -public: - Framebuffer(Card& card, uint32_t id); - virtual ~Framebuffer(); - - uint32_t width() const { return m_width; } - uint32_t height() const { return m_height; } -protected: - Framebuffer(Card& card, uint32_t width, uint32_t height); - -private: - uint32_t m_width; - uint32_t m_height; -}; - -class IMappedFramebuffer { -public: - virtual ~IMappedFramebuffer() { } - - virtual uint32_t width() const = 0; - virtual uint32_t height() const = 0; - - virtual PixelFormat format() const = 0; - virtual unsigned num_planes() const = 0; - - virtual uint32_t stride(unsigned plane) const = 0; - virtual uint32_t size(unsigned plane) const = 0; - virtual uint32_t offset(unsigned plane) const = 0; - virtual uint8_t* map(unsigned plane) = 0; -}; - -} -- cgit v1.2.3