db: use PageFlipHandler
[android/external-libkmsxx.git] / tests / testpat.cpp
index eaf1091efd7187c349bd72085317a823d4a372e7..02f195ac1243598b3f2de355f71fe4a3add7208d 100644 (file)
@@ -30,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);
 
@@ -54,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);