cairo-server-side-gradients.patch 768 B

123456789101112131415161718
  1. # Description: don't use server side gradients most drivers don't handle it
  2. Index: cairo-1.12.2/src/cairo-xlib-display.c
  3. ===================================================================
  4. --- a/src/cairo-xlib-display.c 2015-03-10 23:21:07.000000000 +0100
  5. +++ b/src/cairo-xlib-display.c 2015-03-11 21:59:05.751030406 +0100
  6. @@ -263,11 +263,7 @@ _cairo_xlib_device_create (Display *dpy)
  7. /* Prior to Render 0.10, there is no protocol support for gradients and
  8. * we call function stubs instead, which would silently consume the drawing.
  9. */
  10. -#if RENDER_MAJOR == 0 && RENDER_MINOR < 10
  11. display->buggy_gradients = TRUE;
  12. -#else
  13. - display->buggy_gradients = FALSE;
  14. -#endif
  15. display->buggy_pad_reflect = FALSE;
  16. display->buggy_repeat = FALSE;