summaryrefslogtreecommitdiff
path: root/kms++/src/mappedframebuffer.cpp
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-09-23 15:32:29 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-11-21 18:20:14 +0200
commit27856a7537f47ea7753569e3139a26b4cd62c268 (patch)
tree88c96ebce4a3d44828d8eb6daa08fc87cc2d3fab /kms++/src/mappedframebuffer.cpp
parentce3b4b2a3c58653b285a543227e5a64a3d828327 (diff)
Add MappedFramebuffer
Add a base MappedFramebuffer class, which inherits Framebuffer and implements IMappedFramebuffer. This helps to implement platform specific framebuffer classes, like OmapFramebuffer. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'kms++/src/mappedframebuffer.cpp')
-rw-r--r--kms++/src/mappedframebuffer.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/kms++/src/mappedframebuffer.cpp b/kms++/src/mappedframebuffer.cpp
new file mode 100644
index 0000000..21e082f
--- /dev/null
+++ b/kms++/src/mappedframebuffer.cpp
@@ -0,0 +1,20 @@
+#include <kms++/kms++.h>
+
+using namespace std;
+
+namespace kms
+{
+
+MappedFramebuffer::MappedFramebuffer(Card& card, uint32_t id)
+ : Framebuffer(card, id)
+{
+
+}
+
+MappedFramebuffer::MappedFramebuffer(Card& card, uint32_t width, uint32_t height)
+ : Framebuffer(card, width, height)
+{
+
+}
+
+}