head 1.14; access; symbols pkgsrc-2013Q2:1.14.0.4 pkgsrc-2013Q2-base:1.14 pkgsrc-2012Q4:1.14.0.2 pkgsrc-2012Q4-base:1.14 pkgsrc-2012Q1:1.13.0.6 pkgsrc-2012Q1-base:1.13 pkgsrc-2011Q4:1.13.0.4 pkgsrc-2011Q4-base:1.13 pkgsrc-2011Q3:1.13.0.2 pkgsrc-2011Q3-base:1.13 pkgsrc-2011Q2:1.12.0.4 pkgsrc-2011Q2-base:1.12 pkgsrc-2011Q1:1.12.0.2 pkgsrc-2011Q1-base:1.12 pkgsrc-2010Q4:1.11.0.6 pkgsrc-2010Q4-base:1.11 pkgsrc-2010Q3:1.11.0.4 pkgsrc-2010Q3-base:1.11 pkgsrc-2010Q2:1.11.0.2 pkgsrc-2010Q2-base:1.11 pkgsrc-2010Q1:1.10.0.4 pkgsrc-2010Q1-base:1.10 pkgsrc-2009Q4:1.10.0.2 pkgsrc-2009Q4-base:1.10 pkgsrc-2009Q3:1.9.0.4 pkgsrc-2009Q3-base:1.9 pkgsrc-2009Q2:1.9.0.2 pkgsrc-2009Q2-base:1.9 pkgsrc-2009Q1:1.7.0.8 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.6 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.4 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.2 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.4.0.2 pkgsrc-2008Q2-base:1.4 cwrapper:1.3.0.2; locks; strict; comment @# @; 1.14 date 2012.05.12.17.38.32; author wiz; state dead; branches; next 1.13; 1.13 date 2011.07.11.10.50.58; author drochner; state Exp; branches; next 1.12; 1.12 date 2011.01.26.19.25.55; author drochner; state Exp; branches; next 1.11; 1.11 date 2010.06.16.16.35.57; author drochner; state Exp; branches; next 1.10; 1.10 date 2009.11.15.13.00.01; author drochner; state Exp; branches; next 1.9; 1.9 date 2009.06.06.22.28.41; author wiz; state Exp; branches; next 1.8; 1.8 date 2009.04.23.08.30.53; author sno; state Exp; branches; next 1.7; 1.7 date 2008.09.06.20.09.16; author bjs; state Exp; branches; next 1.6; 1.6 date 2008.07.18.19.03.32; author bjs; state Exp; branches; next 1.5; 1.5 date 2008.07.13.23.16.02; author bjs; state Exp; branches; next 1.4; 1.4 date 2008.07.12.15.34.49; author tnn; state Exp; branches; next 1.3; 1.3 date 2008.06.19.17.51.27; author bjs; state Exp; branches; next 1.2; 1.2 date 2008.05.19.19.16.56; author tnn; state Exp; branches; next 1.1; 1.1 date 2008.04.07.15.02.05; author bjs; state Exp; branches; next ; desc @@ 1.14 log @Update to 0.24.4, provided by Francois Tigeot in private mail: 0.23.2: Check for working mmap() test: Fix compilation on win32 Add a "noop" fast path for operations which require no or almost no data processing Fix a few typos in pixman-combine.c.template Move many operations from various files into the new noop one. Delete some unused variables in examples, mmx and sse2 functions Replace arguments to composite functions Silence autoconf warnings blitters-test: Make common formats more likely to be tested ARM: Fix two bugs in neon_composite_over_n_8888_0565_ca() Replace boolean arguments with flags for bilinear fast path template REPEAT_NORMAL support for bilinear fast path template sse2: Declare bilinear src_8888_8888 REPEAT_NORMAL composite function ARM: Add REPEAT_NORMAL functions to bilinear BIND macros Enable REPEAT_NORMAL bilinear fast path entries Bilinear REPEAT_NORMAL source line extension for too short src_width 0.23.4: radial: Improve documentation and naming C fast path for scaled src_x888_8888 with nearest filter ARM: workaround binutils bug #12931 (code sections alignment) radial: Fix typos and trailing whitespace ARM NEON: Standard fast path out_reverse_8_8888 Fix lcg_rand_u32() to return 32 random bits New test of pixman_region_contains_{rectangle,point} Speed up pixman_region{,32}_contains_rectangle() Use find_box_for_y() in pixman_region_contains_point() too In pixman_image_create_bits() allow images larger than 2GB win32: Build benchmarks Workaround bug in llvm-gcc ARM: better NEON instruction scheduling of over_n_8888 and over_n_8_8888 bits: optimise fetching width==1 repeats 0.23.6: test: New function to save a pixman image to .png Use pkg-config to determine the flags to use with libpng Various build system fixes and improvements test: Use smaller boxes in region_contains_test() Add a generic unorm_to_unorm() conversion utility Add general pixel converter Add initial version of the MAKE_ACCESSORS() macro Use MAKE_ACCESSORS() to generate accessors for various image formats Remove x and y coordinates from analyze_extents() and compute_sample_extents() Split computation of sample area into own function Eliminate compute_sample_extents() function test: Occasionally use a BILINEAR filter in blitters-test test: better coverage for BILINEAR->NEAREST filter optimization Strength-reduce BILINEAR filter to NEAREST filter for identity transforms BILINEAR->NEAREST filter optimization for simple rotation and translation lowlevel-blt: add over_x888_8_8888 Various MMX fixes mmx: rename USE_MMX to USE_X86_MMX mmx: prepare pixman-mmx.c to be compiled for ARM/iwmmxt mmx: compile on ARM for iwmmxt optimizations mmx: optimize unaligned 64-bit ARM/iwmmxt loads Make sure iwMMXt is only detected on ARM sse2: Macros for assembling bilinear interpolation code fractions sse2: Bilinear scaled over_8888_8888 and over_8888_8_8888 init/fini functions for pixman_image_t Add new fast path flag FAST_PATH_BITS_IMAGE Add src, mask, and dest flags to the composite args struct Simple repeat fast path 0.23.8: Add stable release / development snapshot to draft release notes gradient walker: Correct types and fix formatting Use sentinels instead of special casing first and last stops Simplify gradient_walker_reset() ARM: NEON: Some cleanup of bilinear scanline functions ARM: NEON: Bilinear macro template for instruction scheduling ARM: NEON: Replace old bilinear scanline generator with new template ARM: NEON: Instruction scheduling of bilinear over_8888_8888 and over_8888_8_8888 ARM: NEON: Standard fast path src_n_8_8888 and src_n_8_8 ARM: NEON: Fix assembly typo error in src_n_8_8888 Fix use of uninitialized fields reported by valgrind 0.24.0: Add definitions of INT64_MIN and INT64_MAX Change MMX ldq_u to return _m64 instead of forcing all callers to cast 0.24.2: Don't use non-POSIX test Android Runtime Detection Support For ARM NEON gradient-walker: For NONE repeats, when x < 0 or x > 1, set both colors to 0 autogen.sh: Support GNOME Build API pixman-image.c: Fix typo in pixman_image_set_transform() Fix some signed overflow bugs Reject trapezoids where top (botttom) is above (below) the edges Make mmx code compatible with Solaris Studio 12.3 compilers Fix bugs with alpha maps 0.24.4: iOS Runtime Detection Support For ARM NEON Revert "Reject trapezoids where top (botttom) is above (below) the edges" @ text @$NetBSD: patch-ae,v 1.13 2011/07/11 10:50:58 drochner Exp $ --- configure.orig 2011-07-04 20:24:41.000000000 +0000 +++ configure @@@@ -21325,7 +21325,7 @@@@ fi # if we're using Sun Studio and neither the user nor a config.site # has set CFLAGS. if test $SUNCC = yes && \ - test "$test_CFLAGS" == "" && \ + test "$test_CFLAGS" = "" && \ test "$CFLAGS" = "-g" then CFLAGS="-O -g" @@@@ -21767,6 +21767,7 @@@@ fi +if false; then { $as_echo "$as_me:$LINENO: checking whether the compiler supports -fvisibility=hidden" >&5 $as_echo_n "checking whether the compiler supports -fvisibility=hidden... " >&6; } save_CFLAGS="$CFLAGS" @@@@ -21841,6 +21842,7 @@@@ rm -f core conftest.err conftest.$ac_obj fi { $as_echo "$as_me:$LINENO: result: $_yesno" >&5 $as_echo "$_yesno" >&6; } +fi { $as_echo "$as_me:$LINENO: checking whether the compiler supports -xldscope=hidden" >&5 @ 1.13 log @update to 0.22.2 changes: -New r8g8b8a8 and r8g8b8x8 image formats -better support for compositing triangles and trapezoids -performance improvements -bugfixes @ text @d1 1 a1 1 $NetBSD$ @ 1.12 log @update to 0.20.2 changes: -Gradient improvements -Performance improvements -bugfixes @ text @d3 1 a3 1 --- configure.orig 2011-01-19 13:22:54.000000000 +0000 d5 1 a5 1 @@@@ -11366,7 +11366,7 @@@@ fi d14 1 a14 1 @@@@ -11677,6 +11677,7 @@@@ fi d19 1 a19 1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fvisibility=hidden" >&5 d22 1 a22 1 @@@@ -11727,6 +11728,7 @@@@ rm -f core conftest.err conftest.$ac_obj d24 1 a24 1 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_yesno" >&5 d29 1 a29 1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -xldscope=hidden" >&5 @ 1.11 log @update to 0.18.2 changes: minor fixes @ text @d3 1 a3 1 --- configure.orig 2010-05-12 20:26:22.000000000 +0000 d5 1 a5 1 @@@@ -11070,7 +11070,7 @@@@ fi d14 2 a15 1 @@@@ -11161,6 +11161,7 @@@@ fi a17 1 have_gcc4=no d19 7 a25 7 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -fvisibility" >&5 $as_echo_n "checking for -fvisibility... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext @@@@ -11177,6 +11178,7 @@@@ if ac_fn_c_try_compile "$LINENO"; then : have_gcc4=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext d28 2 a29 2 if test "x$have_gcc4" = "xyes"; then CFLAGS="$CFLAGS -fvisibility=hidden" @ 1.10 log @update to 0.16.2 changes: minor bugfixes @ text @d3 1 a3 1 --- configure.orig 2009-09-28 15:10:12.000000000 +0200 d5 1 a5 1 @@@@ -11763,7 +11763,7 @@@@ fi d14 1 a14 1 @@@@ -11856,6 +11856,7 @@@@ fi d19 1 a19 1 { $as_echo "$as_me:$LINENO: checking for -fvisibility" >&5 d21 3 a23 2 cat >conftest.$ac_ext <<_ACEOF @@@@ -11894,7 +11895,7 @@@@ sed 's/^/| /' conftest.$ac_ext >&5 a24 1 a25 1 - d27 1 a29 1 fi @ 1.9 log @Update to 0.15.8: 0.15.8: - Phase three of the refactoring [Søren Sandmann Pedersen] - Fixes for refactoring fallout [Jonathan Morton, Jeff Muizelaar, Luca Barbato, Magnus Kessler] - Improved testing code [Siarhei Siamashka] 0.15.6: Apart from a few bug fixes, this release contains phase two of the refactoring; in this phase the various types of images are split into their own files. 0.15.4: A new pixman release 0.15.4 is now available. This is a development release leading up to a stable 0.16.0 release. News: - New ARM NEON fast paths [Ian Rickards, Jeff Muizelaar] - The first part of a large refactoring of the pixman code base [Søren Sandmann] - Bug fixes [Adam Jackson, Alan Coopersmith, Siarhei Siamashka, Jonathan Morton] @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.8 2009/04/23 08:30:53 sno Exp $ d3 1 a3 1 --- configure.orig 2009-05-31 02:06:44.000000000 +0000 d5 10 a14 1 @@@@ -11833,6 +11833,7 @@@@ fi d22 1 a22 1 @@@@ -11871,7 +11872,7 @@@@ sed 's/^/| /' conftest.$ac_ext >&5 @ 1.8 log @Update to pixman-0.15.2 from 0.12.0 Upstream changes (since 0.12.0): - Fix MMX & SSE intrinsics to work with Sun compilers & Solaris - More SSE2 optimizations - Optimize rectilinear nearest-neighbour scaling - Add support for BGRA and BGRx formats and a lot of minor bug fixes and optimizations Oked by wiz@@ @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- configure.orig 2009-02-06 22:33:17.000000000 +0000 +++ configure 2009-04-12 08:19:38.000000000 +0000 @@@@ -20588,6 +20588,7 @@@@ d13 1 a13 1 @@@@ -20626,7 +20627,7 @@@@ @ 1.7 log @Update to version 0.11.10, a bug-fix release. In addition, add a 'gen-symfile' target for regenerating the libtool export symfile. This should be run upon updating the package. While here, silence needless autotools warnings and update sse2 conditional in hacks.mk. Changes since 0.11.8: Add depth 30 formats to pixman_format_supported_source. [sse2] Change pixman-sse to pass __mm128i args as pointers, so as not to Use CopyAreasse2, plus a compatibility fix Use hidden attribute for private functions when compiling with Sun Studio Minor portability fixes Post-release version-bump Update RELEASING and release targets in Makefile.am Fix typo in sse2 configure logic TODO Don't require GCC 4.2 on x86-64 Bug 16921. MMX and SSE2 intrinsics not enabled when compiling with Intel' Remove use of MMX extensions. Be consistent in naming SSE2 related things SSE2 A few other renamings of SSE->SSE2 Rename pixman-sse.h pixman-sse2.h Make sure pixman-combine{32,64}.h are disted Use error instead of #error in a couple of other places Check for __sun || __sun in pixman.h. Update TODO Bump release Update RELEASING Add sys/inttypes.h include for AIX @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.6 2008/07/18 19:03:32 bjs Exp $ d3 3 a5 3 --- configure.orig 2008-09-06 06:07:45.000000000 -0400 +++ configure @@@@ -20218,6 +20218,7 @@@@ fi d10 2 a11 2 { echo "$as_me:$LINENO: checking for -fvisibility" >&5 echo $ECHO_N "checking for -fvisibility... $ECHO_C" >&6; } d13 1 a13 1 @@@@ -20255,7 +20256,7 @@@@ sed 's/^/| /' conftest.$ac_ext >&5 @ 1.6 log @ Maintaining this package seems like a full-time job! Correct the sse2 detection logic in configure/configure.ac. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.5 2008/07/13 23:16:02 bjs Exp $ d3 1 a3 1 --- configure.orig 2008-07-17 13:39:07.000000000 -0400 d5 1 a5 1 @@@@ -19773,6 +19773,7 @@@@ fi d13 1 a13 1 @@@@ -19810,7 +19811,7 @@@@ sed 's/^/| /' conftest.$ac_ext >&5 a21 9 @@@@ -20057,7 +20058,7 @@@@ fi { echo "$as_me:$LINENO: result: $have_sse2_intrinsics" >&5 echo "${ECHO_T}$have_sse2_intrinsics" >&6; } -if test $enable_sse2 = yes && test $have_sse_intrinsics = no ; then +if test $enable_sse2 = yes && test $have_sse2_intrinsics = no ; then { { echo "$as_me:$LINENO: error: SSE2 intrinsics not detected" >&5 echo "$as_me: error: SSE2 intrinsics not detected" >&2;} { (exit 1); exit 1; }; } @ 1.5 log @ Update to pixman-0.11.6. ChangeLog: commit a766b62880108f278478888f5167a5fbf2819a97 Add configure time options to disable mmx/sse2/vmx commit 02268903e4311709744c11e495f9b17f171ec5e9 pixman-sse.c: silence pointer-cast compiler warnings. Cast pointers to words of the same size, not 32-bits. commit eb2d95de98683a387153f010077ad9c3c3b1b01d Fix implicit declaration of function 'free'. Otherwise pointer will be truncated on 64bit arch and your programs will crash. commit 29d144712e558aaeb49f4384028dd669d76a410b Fix memory leak by freeing boxes{16,32}. After calling pixman_region_init_rects() or pixman_region32_init_rects(), boxes{16,32} were not freed before returning. Fixes bug 16312. commit 5d32519316b40b35113c6df9e15d955a16709ba2 Use pixman_malloc_ab instead of plain malloc for the fbStore64_generic scratch buffer. commit b1c70c4e6435d7f15751111828c381feb1d139cf Move PIXMAN_FORMAT_16BPC to pixman-private.h commit 7fa966df0ee781fa486715710f389b148c11d36e Decide based on the image formats whether we need wide compositing. commit 7cb735c9c0fa55ae1f4d8d13da9f33e3da2ae8fe Take the source format into account in pixman_expand. Extract the original bits of the source image for each component and then replicate up to 16 bits to fill the wide components. Make sure to hard-code the alpha value to 1 if the source format didn't have alpha. commit c0d98e96605c6d03f4b02f337f2f5827165bb092 Make expansion and contraction loops clearer. commit fc0b28bf6af81428b7ac045614eea97fbf9c4a70 Add wide source picture, external alpha, and transformed image routines. The wide external alpha path should work correctly with wide formats. The wide transformed fetch code for now just does a 32-bit fetch and then expands, which will lose precision. Source pictures, for now, are evaluated at depth 32 and then are expanded to depth 64. We could get higher precision by evaluating them directly at depth 64, but this should be good enough for now. commit 42a3a2d6fc8d3e521c6914ff8fb89f1fbc673e28 Add wide fetch/store functions. Use the narrow ones and expand/contract where necessary. Still need wide paths for fancy pictures, but this gets the basic stuff working. commit 7591d3f1d7e0884f9362018edf720724095cf380 Add expand and contract functions to convert between ARGB8 and ARGB16. The expansion function isn't quite correct, but gives reasonable results. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- configure.orig 2008-06-25 07:55:10.000000000 -0400 d22 9 @ 1.4 log @Recommit the following, which was removed a couple of weeks ago: date: 2008/04/27 11:58:09; author: tnn; state: Exp; lines: +2 -2 Skip the SSE2 configure test if we already know we don't have SSE, because Sun Studio gets the result of the SSE2 test wrong. @ text @d3 1 a3 1 --- configure.orig 2008-06-09 18:35:16.000000000 +0200 d5 1 a5 1 @@@@ -19770,6 +19770,7 @@@@ fi d13 1 a13 1 @@@@ -19807,7 +19808,7 @@@@ sed 's/^/| /' conftest.$ac_ext >&5 a21 16 @@@@ -19969,6 +19970,7 @@@@ fi have_sse2_intrinsics=no { echo "$as_me:$LINENO: checking whether to use SSE2 intrinsics" >&5 echo $ECHO_N "checking whether to use SSE2 intrinsics... $ECHO_C" >&6; } +if test $have_sse_intrinsics = yes; then xserver_save_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -msse2 $SSE_CFLAGS" @@@@ -20013,6 +20015,7 @@@@ fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS=$xserver_save_CFLAGS +fi { echo "$as_me:$LINENO: result: $have_sse2_intrinsics" >&5 echo "${ECHO_T}$have_sse2_intrinsics" >&6; } @ 1.3 log @ Update to pixman-0.11.4. No ChangeLog--you may check the GIT history if you're curious. Also (this is noted in the Makefile): The configure script is written to fail if it detects gcc<4.0 for lack of -fvisibility=hidden. In keeping with the pkgsrc tradition of portability, we'll opt to use libtool to export the desired symbols, hiding the rest. I have verified the list of visible symbols is unchanged from the "factory" build. @ text @d3 1 a3 1 --- configure.orig 2008-06-09 12:35:16.000000000 -0400 d22 16 @ 1.2 log @Yet another IRIX build fix. @ text @d3 19 a21 22 --- pixman/pixman.h.orig 2008-03-27 11:58:20.000000000 +0100 +++ pixman/pixman.h @@@@ -77,7 +77,7 @@@@ SOFTWARE. #if defined (__SVR4) && defined (__sun) # include # include -#elif defined (__OpenBSD__) +#elif defined (__OpenBSD__) || defined(__sgi) # include #elif defined (_MSC_VER) typedef __int8 int8_t; @@@@ -563,10 +563,6 @@@@ pixman_bool_t pixman_image_set_filter const pixman_fixed_t *filter_params, int n_filter_params); PIXMAN_EXPORT -void pixman_image_set_filter_params (pixman_image_t *image, - pixman_fixed_t *params, - int n_params); -PIXMAN_EXPORT void pixman_image_set_source_clipping (pixman_image_t *image, pixman_bool_t source_clipping); PIXMAN_EXPORT @ 1.1 log @ Update to pixman 0.10 plus some tiny patches from GIT. Notable improvements: * Support for new YUV formats * MMX acceleration now works with MS Visual C++ * Many performance improvements and bug fixes @ text @d3 1 a3 1 --- pixman/pixman.h.orig 2008-03-27 06:58:20.000000000 -0400 d5 9 @