summaryrefslogtreecommitdiff
path: root/kms++/extframebuffer.h
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-11 20:17:35 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-11 20:17:35 +0300
commit17d180891f1e237ea5d25835999a8b23a6e7946d (patch)
tree5963fe4d338f6272daf55c76ed355effb47afc71 /kms++/extframebuffer.h
parent38a71ee72c47f3287c327113ce411f236cac05ef (diff)
rename dirs
Diffstat (limited to 'kms++/extframebuffer.h')
-rw-r--r--kms++/extframebuffer.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/kms++/extframebuffer.h b/kms++/extframebuffer.h
new file mode 100644
index 0000000..eab7e3c
--- /dev/null
+++ b/kms++/extframebuffer.h
@@ -0,0 +1,21 @@
+#pragma once
+
+#include "framebuffer.h"
+#include "pixelformats.h"
+
+namespace kms
+{
+
+class ExtFramebuffer : public Framebuffer
+{
+public:
+ ExtFramebuffer(Card& card, uint32_t width, uint32_t height, uint8_t depth, uint8_t bpp, uint32_t stride, uint32_t handle);
+ ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format,
+ uint32_t handles[4], uint32_t pitches[4], uint32_t offsets[4]);
+ ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format,
+ int fds[4], uint32_t pitches[4], uint32_t offsets[4]);
+ virtual ~ExtFramebuffer();
+
+private:
+};
+}