diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-03-24 17:05:39 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-03-24 17:05:39 +0200 |
commit | c113f75a8f21768f13d61c3a06ec27a43dffcc9e (patch) | |
tree | c591d24a4141017116d6ec9bb5e81719903f630d /tests | |
parent | d1b34f77d1145b2237d6c22ca7e1c5eca3eb0631 (diff) |
fbtestpat: use extcpuframebuffer
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fbtestpat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fbtestpat.cpp b/tests/fbtestpat.cpp index a29ae24..d82f3e4 100644 --- a/tests/fbtestpat.cpp +++ b/tests/fbtestpat.cpp @@ -12,7 +12,7 @@ #include <linux/fb.h> #include "test.h" -#include "cpuframebuffer.h" +#include "extcpuframebuffer.h" using namespace kms; @@ -41,7 +41,7 @@ int main(int argc, char** argv) FAIL_IF(ptr == MAP_FAILED, "mmap failed"); - CPUFramebuffer buf(var.xres_virtual, var.yres_virtual, PixelFormat::XRGB8888); + ExtCPUFramebuffer buf(var.xres, var.yres_virtual, PixelFormat::XRGB8888, ptr, fix.line_length); printf("%s: res %dx%d, virtual %dx%d, line_len %d\n", fbdev, |