[cairo-commit] src/cairo-xlib-display.c

Chris Wilson ickle at kemper.freedesktop.org
Fri Aug 1 03:31:22 PDT 2014


 src/cairo-xlib-display.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 27c9923e9887bab5854ecccc81dda69687a0b9ae
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Fri Aug 1 11:29:29 2014 +0100

    xlib: Undo debug hack to force fallbacks
    
    Remove the debug hack from
    
    commit f337342c88092a251dc00476c4a9880d1cb90822
    Author: Bill Spitzak <spitzak at gmail.com>
    Date:   Fri Jul 18 18:46:26 2014 -0700
    
        V6 image: Use convolution filters for sample reconstruction when downscaling
    
    as it forces the fallback image surface for xlib causing severe
    performance degradation.
    
    Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82002
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>
    Cc: Bill Spitzak <spitzak at gmail.com>
    Cc: Bryce Harrington <b.harrington at samsung.com>

diff --git a/src/cairo-xlib-display.c b/src/cairo-xlib-display.c
index 7d9a384..a2a3bc7 100644
--- a/src/cairo-xlib-display.c
+++ b/src/cairo-xlib-display.c
@@ -151,7 +151,7 @@ static const cairo_device_backend_t _cairo_xlib_device_backend = {
 
 static void _cairo_xlib_display_select_compositor (cairo_xlib_display_t *display)
 {
-#if 0
+#if 1
     if (display->render_major > 0 || display->render_minor >= 4)
 	display->compositor = _cairo_xlib_traps_compositor_get ();
     else if (display->render_major > 0 || display->render_minor >= 0)


More information about the cairo-commit mailing list