summaryrefslogtreecommitdiff
path: root/tests/fbtestpat.cpp
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-03-15 11:46:09 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-03-15 11:57:49 +0200
commit83d27aa30549194068fef320f735245a7735a5ea (patch)
tree05d8d4e6bb36c1b902f9fcb19a79ea9b9573ed28 /tests/fbtestpat.cpp
parent79394ef6686cd525471c20f9bda0b8c983b63010 (diff)
Add IMappedFramebuffer and remove MappedBuffer
Diffstat (limited to 'tests/fbtestpat.cpp')
-rw-r--r--tests/fbtestpat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fbtestpat.cpp b/tests/fbtestpat.cpp
index 529a688..a29ae24 100644
--- a/tests/fbtestpat.cpp
+++ b/tests/fbtestpat.cpp
@@ -12,7 +12,7 @@
#include <linux/fb.h>
#include "test.h"
-#include "mappedbuffer.h"
+#include "cpuframebuffer.h"
using namespace kms;
@@ -41,7 +41,7 @@ int main(int argc, char** argv)
FAIL_IF(ptr == MAP_FAILED, "mmap failed");
- MappedCPUBuffer buf(var.xres_virtual, var.yres_virtual, PixelFormat::XRGB8888);
+ CPUFramebuffer buf(var.xres_virtual, var.yres_virtual, PixelFormat::XRGB8888);
printf("%s: res %dx%d, virtual %dx%d, line_len %d\n",
fbdev,