Name: cairo
-#Version: 1.12.16
Version: 1.14.2
Release: 0
License: MPL-1.1 or LGPL-2.1+
Source: http://cairographics.org/releases/%{name}-%{version}.tar.xz
Source99: baselibs.conf
Source1001: cairo.manifest
-#BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: xz
BuildRequires: pkgconfig(fontconfig)
--enable-svg=yes \
--enable-tee=no \
--enable-ttrace=no \
-%if %{with wayland} && !%{with x}
+ --disable-gtk-doc \
+ --disable-static \
+%if %{with wayland}
--disable-xlib \
- --disable-xcb \
-%else
+ --disable-xcb \
+%endif
+%if %{with x}
--enable-xlib \
%if %{with cairo_xcb_backend}
- --enable-xcb \
+ --enable-xcb
%endif
%endif
- --disable-gtk-doc \
- --disable-static
-make %{?_smp_mflags} V=1
+
+#make %{?_smp_mflags} V=1
%install
%make_install
#define PIXMAN_HAS_ATOMIC_OPS 1
#endif
+#define SEPARABLE_CONVOLUTION 0
+
#if PIXMAN_HAS_ATOMIC_OPS
static pixman_image_t *__pixman_transparent_image;
static pixman_image_t *__pixman_black_image;
case CAIRO_FILTER_FAST:
pixman_filter = PIXMAN_FILTER_FAST;
break;
+ /* In order to prevent performance drop, Disable PIXMAN_FILTER_SEPERABLE_CONVOLTION
+ * same as cairo 1.12.14 in Tizen2.4
+ */
+#if SEPARABLE_CONVOLUTION
case CAIRO_FILTER_GOOD:
pixman_filter = PIXMAN_FILTER_SEPARABLE_CONVOLUTION;
kernel = KERNEL_BOX;
else dy = 1.0;
}
break;
+#else
+ case CAIRO_FILTER_GOOD:
+ pixman_filter = PIXMAN_FILTER_GOOD;
+ break;
+ case CAIRO_FILTER_BEST:
+ pixman_filter = PIXMAN_FILTER_BEST;
+ break;
+#endif
case CAIRO_FILTER_NEAREST:
pixman_filter = PIXMAN_FILTER_NEAREST;
break;