mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-08 23:08:03 +02:00
xlib: Undo debug hack to force fallbacks
Remove the debug hack from
commit f337342c88
Author: Bill Spitzak <spitzak@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@chris-wilson.co.uk>
Cc: Bill Spitzak <spitzak@gmail.com>
Cc: Bryce Harrington <b.harrington@samsung.com>
This commit is contained in:
parent
f337342c88
commit
27c9923e98
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue