compositor-drm: Always disable sprites for now
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 2 Nov 2012 14:14:40 +0000 (10:14 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 2 Nov 2012 19:19:02 +0000 (15:19 -0400)
Until the nuclear pageflip work lands in KMS, we can't use sprites
reliably.

src/compositor-drm.c

index fac0f56..f360568 100644 (file)
@@ -2252,6 +2252,10 @@ drm_compositor_create(struct wl_display *display,
                return NULL;
        memset(ec, 0, sizeof *ec);
 
+       /* KMS support for sprites is not complete yet, so disable the
+        * functionality for now. */
+       ec->sprites_are_broken = 1;
+
        if (weston_compositor_init(&ec->base, display, argc, argv,
                                   config_file) < 0) {
                weston_log("weston_compositor_init failed\n");