diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /gfx/cairo/pixman-interp.patch | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | gfx/cairo/pixman-interp.patch | 31 |
1 files changed, 31 insertions, 0 deletions
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__ + |