db: use PageFlipHandler
[android/external-libkmsxx.git] / tests / testpat.cpp
index 99804076dfc00bdf1ed89e7ddda9477dd58a7236..02f195ac1243598b3f2de355f71fe4a3add7208d 100644 (file)
@@ -2,7 +2,6 @@
 #include <algorithm>
 
 #include "kms++.h"
-#include "utils/testpat.h"
 
 #include "test.h"
 
@@ -31,7 +30,7 @@ int main()
 
                auto mode = conn->get_default_mode();
 
-               auto fb = new Framebuffer(card, mode.hdisplay, mode.vdisplay, "XR24");
+               auto fb = new DumbFramebuffer(card, mode.hdisplay, mode.vdisplay, "XR24");
                draw_test_pattern(*fb);
                fbs.push_back(fb);
 
@@ -55,7 +54,7 @@ int main()
                }
 
                if (plane) {
-                       auto planefb = new Framebuffer(card, 400, 400, "YUYV");
+                       auto planefb = new DumbFramebuffer(card, 400, 400, "YUYV");
                        draw_test_pattern(*planefb);
                        fbs.push_back(planefb);