From 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:47:29 +0200 Subject: Adding upstream version 115.8.0esr. Signed-off-by: Daniel Baumann --- gfx/cairo/pixman-interp.patch | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 gfx/cairo/pixman-interp.patch (limited to 'gfx/cairo/pixman-interp.patch') diff --git a/gfx/cairo/pixman-interp.patch b/gfx/cairo/pixman-interp.patch new file mode 100644 index 0000000000..263df0b9d8 --- /dev/null +++ b/gfx/cairo/pixman-interp.patch @@ -0,0 +1,31 @@ +diff --git a/gfx/cairo/libpixman/src/pixman-private.h b/gfx/cairo/libpixman/src/pixman-private.h +--- a/gfx/cairo/libpixman/src/pixman-private.h ++++ b/gfx/cairo/libpixman/src/pixman-private.h +@@ -1,17 +1,26 @@ + #ifndef PIXMAN_PRIVATE_H + #define PIXMAN_PRIVATE_H + + /* + * The defines which are shared between C and assembly code + */ + +-/* bilinear interpolation precision (must be < 8) */ ++/* bilinear interpolation precision (must be <= 8) */ ++#ifndef MOZILLA_VERSION ++#error "Need mozilla headers" ++#endif ++#ifdef MOZ_GFX_OPTIMIZE_MOBILE ++#define LOW_QUALITY_INTERPOLATION ++#define LOWER_QUALITY_INTERPOLATION ++#define BILINEAR_INTERPOLATION_BITS 4 ++#else + #define BILINEAR_INTERPOLATION_BITS 7 ++#endif + #define BILINEAR_INTERPOLATION_RANGE (1 << BILINEAR_INTERPOLATION_BITS) + + /* + * C specific part + */ + + #ifndef __ASSEMBLER__ + -- cgit v1.2.3