Commit graph

65 commits

Author SHA1 Message Date
tron
2570df38c5 Change last pattern back to allow SSE2 support for GCC 100.* and newer
as suggested by Matthias Drochner in private e-mail.

Let's hope we have switched to CLang by then.
2011-07-12 22:03:28 +00:00
tron
d5dcfb346c Fix last commit:
1.) The check in "pkgsrc/x11/pixman/Makefile" was incorrect and always
    disabled SSE2. Remove it which also fixes the Mac OS X build as
    the necessary patch for the test program gets applied again.
2.) Correct the existing SSE2 handling in "pkgsrc/x11/pixman/hacks.mk":
    - Correctly match the various GCC versions.
    - Disable SSE2 for both amd64 and i386 when old versions of GCC
      are used.
2011-07-12 18:23:09 +00:00
tron
e65853401a Disable SSE2 support for NetBSD-*-x86_64. This prevents segfaults under
NetBSD/amd64 5.1_STABLE. Bump package revision because of this change.

It is possible that SSE2 support works fine if "pixman" is built with
NetBSD-current's newer toolchain. If you have such a setup please
test it and adjust the package accordingly if appropriate.
2011-07-12 13:28:31 +00:00
tron
14ec162b41 Fix build problem under Mac OS X. 2011-07-11 19:19:42 +00:00
drochner
cd7224a50f update to 0.22.2
changes:
-New r8g8b8a8 and r8g8b8x8 image formats
-better support for compositing triangles and trapezoids
-performance improvements
-bugfixes
2011-07-11 10:50:58 +00:00
wiz
e2f84ad43f Reset maintainer for retired developers. 2011-02-28 14:52:37 +00:00
drochner
69b5c13686 update to 0.20.2
changes:
-Gradient improvements
-Performance improvements
-bugfixes
2011-01-26 19:25:55 +00:00
tron
09293cadf8 Set the required API version to 0.18.4 as well to enforce correct
build time dependences.
2010-09-14 19:07:00 +00:00
wiz
200e3c4a04 Bump dependency on pixman to 0.18.4 because cairo-1.10 needs that
version, and bump all depends.

Per discussion on pkgsrc-changes.
2010-09-14 11:00:44 +00:00
wiz
d9bcb7b768 Update to 0.18.4:
Log:
        Søren Sandmann Pedersen (6):
              Post-release version bump to 0.18.3
              Fix memory leak in the pthreads thread local storage code
              When storing a g1 pixel, store the lowest bit, rather than comparing with
              If we bail out of do_composite, make sure to undo any workarounds.
              Check for read accessors before taking the bilinear fast path
              Pre-release version bump to 0.18.4
2010-08-17 09:28:30 +00:00
dsainty
dfbdfae883 Regenerate the exported symbol list via the process in ../Makefile,v1.20.
Omit a PKGREVISION bump, this package doesn't actually build (on Linux) due to
failing build-time test cases.  Presumably on platforms where the build
succeeds this export list doesn't actually matter.
2010-06-17 03:28:29 +00:00
drochner
71accc1a90 update to 0.18.2
changes: minor fixes
2010-06-16 16:35:57 +00:00
tnn
70db5ef86f upstream bug tracker says 23331 is fixed. 2010-02-27 10:41:00 +00:00
drochner
ff1d55359c update to 0.16.6
changes: fixes for a couple of bugs related to alpha maps
2010-02-18 21:30:44 +00:00
wiz
1973c599ab Update to 0.16.4:
The only change since 0.16.2 is that asserts are now disabled by
default, so that region bugs in the X server don't take down the
entire desktop.
2010-01-20 14:27:46 +00:00
tnn
131436b4bb Compilation failed on Sun Studio 12. Disable mmx/sse2.
Please don't re-enable this without extensive tests, it seems fragile.
2009-12-16 22:28:32 +00:00
drochner
6f4d111076 update to 0.16.2
changes: minor bugfixes
2009-11-15 13:00:01 +00:00
wiz
2f0f26f96b Update to 0.16.0:
New features since the last stable release, 0.14.0, include:

   * Support for PDF blend modes [Benjamin Otte, Carlos Garcia Campos]

   * A number of fast paths for ARM NEON [Jeff Muizelaar, Jonathan
        Morton, Siarhei Siamashka, Ian Rickards]

   * Support for PIXMAN_REPEAT_REFLECT for images [Thomas Jaeger]

   * New image formats:
        a2r10g10b10, x2r10g10b10 [Ben Skeggs]
        b8g8r8a8, b8g8r8x8 [Mike Kettenis]

   * Support for MMX and SSE2 on Sun compilers and Solaris [Alan
        Coopersmith]

   * Support for SSE2 on Windows x64 [George Yohng]

Also new in this release:

   * A reorganisation of pixman's internals to make future development
     and maintenance easier [Søren Sandmann Pedersen]

   * A substantial expansion of pixman's test suite [Siarhei Siamashka]

Thanks to everyone who contributed to pixman 0.16.0, including Adam
Jackson, Adrian Bunk, Alan Coopersmith, Andre Tupinamba, Ben Skeggs,
Benjamin Otte, Carlos Garcia Campos, Chris Wilson, George Yohng,
Guillaume Letellier, Ian Rickards, Jeff Muizelaar, Jonathan Morton,
Loïc Minier, Luca Barbato, M Joonas Pihlaja, Magnus Kessler, Makoto
Kato, Mark Kettenis, Michel Dänzer, Miha Vrhovnik, Siarhei Siamashka,
Søren Sandmann Pedersen, Thomas Jaeger, and William Bonnet.
2009-08-29 15:50:18 +00:00
dsainty
660b22a672 Linux patch(1) requires a little extra context in patch-ac. Appease. 2009-08-17 07:39:44 +00:00
wiz
67d20e5df2 Update to 0.15.20:
- A new test program for compositing operators [Siarhei Siamashka]

        - Bugs and performance fixes [Benjamin Otte, Chris Wilson,
          Andre Tupinamba, Soren Sandmann]
2009-08-15 20:51:30 +00:00
wiz
8eff5ae616 Update to 0.15.18:
News:
        - ARM bug fixes [Siarhei Siamashka]
        - No more asserts on malformed regions [Søren Sandmann Pedersen]
        - SSE2 support for 64 bit windows [George Yohng]
        - Improvements to the region code [Benjamin Otte]
        - Misc. bug fixes
                [Adrian Bunk, Chris Wilson, M Joonas Pihlaja, Miha Vrhovnik]
2009-07-22 12:37:16 +00:00
tnn
4d244d6a76 Update pixman.sym to reflect reality.
Bump PKGREVISION.
2009-07-21 15:03:29 +00:00
tron
b9d4906e3d Don't build "scaling-test" regression test (which doesn't get installed
anyway). It fails to link under Mac OS X because it tries to call
various symbols that are apparently now hidden. No changes to the
binary package on other platforms.
2009-07-19 12:25:02 +00:00
wiz
64c15061a4 Update to 0.15.16:
- New ARGB formats with 10 bits per channel [Ben Skeggs]

    - ARM updates [Adrian Bunk, Guillaume Letellier, Jonathan
           Morton, Siarhei Siamashka]

    - The final bits of refactoring [Søren Sandmann Pedersen]

    - Misc. bug fixes [Michel Dänzer, Benjamin Otte, Søren Sandmann Pedsen]
2009-07-18 06:33:58 +00:00
drochner
47fb98657f update to 0.15.14
sorry, didn't find a changelog -- quod licet src, quoque licet pkgsrc
2009-07-09 17:24:07 +00:00
sketch
932404a53b You can't return from a void function. Fixes Solaris build and gives 999
dependant packages a chance to build.
2009-06-26 20:30:15 +00:00
joerg
b02a0f888e Remove @dirrm entries from PLISTs 2009-06-14 18:24:43 +00:00
wiz
93663f0b42 Update to 0.15.10. No release announcement available yet. 2009-06-08 09:04:32 +00:00
wiz
ac2099cb65 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]
2009-06-06 22:28:41 +00:00
sno
de1c7085e8 Fixing wrong target location for copying missing solaris-hwcap.mapfile
reported through PR pkg/41287.
2009-05-17 11:01:11 +00:00
sno
46ef80596f Redo patch for PR pkg/41287 to get it formal correct (suggested by joerg@) 2009-05-02 07:56:54 +00:00
sno
1c88e5846a Adding file pixman/solaris-hwcap.mapfile imported by Alan Coopersmith to
pixman but wasn't labeled for 0.15.2 to fix PR pkg/41287
Bug upstream reported https://bugs.freedesktop.org/show_bug.cgi?id=21429
2009-04-28 11:31:39 +00:00
sno
0a8a876a15 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@
2009-04-23 08:30:53 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
bjs
1c7d8bab60 Update to pixman-0.12.0 from 0.11.10.
In addition to many bug fixes, new features [since approximately 0.10.0]
include:

 	- New image formats with 10 bits per channel
 	- SSE2 optimizations for many operations
 	- Opacity based optimizations for operators
 	- Altivec optimizations for many operations
 	- A 32 bit region implementation
2008-10-15 00:56:45 +00:00
tron
e0c7c45518 Properly enclose the Mac OS X work around in the appropriate checks.
Problem pointed out by Quentin Garnier.
2008-10-06 12:54:43 +00:00
tron
b76af69875 Work arond the broken libtool archive "/usr/X11/lib/libpixman-1.la" under
Mac OS X Leopard. This fixes build problems in e.g. the "cairo" package.
2008-10-06 11:22:09 +00:00
cube
403e256ff6 Merge cube-native-xorg, so that pkgsrc-current can be used with the native
X.Org found in NetBSD-current.

Thanks a lot to all who helped, especially Matthias Scheler who did
repeated tests on Mac OS X and older versions of NetBSD to make sure the
support for those platforms wouldn't be broken (or at least, not fatally,
as I would still expect a few hiccups here and there, because there is
only so much one can test in such limited time).

On the infrastructure side, this branch brings pkgconfig-builtin.mk, in
order to write very easily new builtin.mk files.  It can actually handle
more than just pkgconfig files, but it will provide a version if it finds
such a file.  x11.builtin.mk has also been made more useful and now all
existing (and future!) native-X11-related builtin.mk files should include
it.
2008-10-05 21:36:32 +00:00
bjs
0a46fe688d Add two patches from GIT:
- Fix bug in pixman_image_is_opaque().
- Fix for bug 17477 (see patch-ag).

While here, add missing .PHONY attribute for gen-symfile target.

PKGREVISION++, but no recursive dependency bump necessary.
2008-09-16 21:22:34 +00:00
tron
0858b4dc53 Remove this file again:
- There's a better version in the "cube-native-xorg" branch.
- Using the bundled "pixman" library doesn't work under Mac OS X anyway
  because Apple didn't update the ".la" file at same point.

[It is likely that the second issue will require attention after the
 "cube-native-xorg" branch has been merged.]
2008-09-16 13:10:41 +00:00
tron
5359edb3be Detect builtin "pixman" e.g. under Mac OS X Leopard. 2008-09-16 11:41:33 +00:00
bjs
1867accb76 Use ${TRUE} instead of 'true'. 2008-09-06 20:13:13 +00:00
bjs
6d3f41ecce 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
2008-09-06 20:09:15 +00:00
abs
047da978ae revert patch-aa distinfo change 2008-07-19 09:57:09 +00:00
bjs
e71068a954 Maintaining this package seems like a full-time job!
Correct the sse2 detection logic in configure/configure.ac.
Bump PKGREVISION.
2008-07-18 19:03:32 +00:00
bjs
a0fd130aa8 Wow, that was quick: update to pixman-0.11.8. Changes:
(just a reminder: when updating this package, be sure to adjust
files/pixman.sym appropriately)

commit 411c0e990f7a96d4e15f2cbbe07d3b50b6a20f95

    Make a couple of functions static

commit 96f57c07f24cd6d86c0aad624bd1a16b85f08e04

    Speed up fbOver

    Use FbByteMulAdd to operate on two components at a time and force
    the function to be inlined.

commit dcbe4b3f80fb8dc6a83efa7e66a891f8b102608d

    fix --enable-{mmx,sse2,vmx}

    If --enable-foo is used, don't treat it as --disable-foo, and
    error out if the appropriate compiler support isn't detected.

commit e21f00db50c30e80c8969fbf63982aeb7434dc1d

    Add pixman-1-uninstalled.pc file

commit 1570746350baf82d36aeb7ea1702350700b795d7

    Use -no-undefined -- fixes bug 15927

commit 99fead412e7602daf193035831b952e252dac0e1

    Use <inttypes.h> on most types of Unix.

    Fix for bug 15560.

commit 2070f10db927a97d7d38024e607093f5a6e00291

    Remove unused pixman-combine.c

commit 9d54568d5f93701313fdbb49c1ef9dc79fe5850c

    Fix SSE2 bug where x888 pixels were treated as 8888

commit 7dfd023e94d9ab5940d7062c2e5cde11ab02f43e

    fix Altivec detection

    the old code used to cause infinite looping on G3 machines.

commit 0a92401678286eb438fe24979fd032efba540a0a

    Fix fbCompositeSrc_x888xnx8888mmx to properly ignore source alpha

commit 687176023caf53f2fe234827d152f270048b1cd3

    make --{en,dis}able-gtk work correctly

    --enable-gtk had the same effect as --disable-gtk.
    Now we check for it by default, and error out if we can't
    find it and it was explicitly enabled.

commit 9d97716d2fd91d5611a5e7a7b29b38887b672e9f

    Fix bug 16310 in the SSE2 fast path in function
    fbCompositeSolidMask_nx8888x0565Csse2

commit eb53d111bd8651cd00c1b728b09e8be09b8482f7

    Add a lossy 32-bit generic pixel fetch function for wide surfaces.

    The transformed fetch path currently only works at 32-bit precision.
    Until a wide version of that function is added, we need to have a
    path to perform a wide FetchPixel and then contract it down to
    a8r8g8b8.

    Also, use the right format when expanding the result in
    fbFetchTransformed64.  fbFetchTransformed returns a8r8g8b8 results.

commit 3c43b869f3821495978c61b9195f0b0e9e9e1245

    Unexport or delete various functions

    - Delete pixman_region_append()
    - Delete pixman_region_empty()
    - Make pixman_region_validate() static and don't export it.

    Reported by Julien Cristau.

commit 36b05f2cac7fa28e31131ca0d6b8b133ccd95ab8

    Only export the 16 bit version of pixman_region_set_static_pointers()
2008-07-18 03:34:10 +00:00
tnn
9fd37ed37a pixman-0.11.6 added a configure flag called --disable-sse2.
Use this when building with Sun Studio, since my original fix (patch-ae)
was reverted again.
2008-07-14 05:31:57 +00:00
bjs
96def92427 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.
2008-07-13 23:16:02 +00:00
tnn
bcab8d0c86 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.
2008-07-12 15:34:48 +00:00
bjs
e7d1a53440 Fix trailing white-space. 2008-06-19 17:59:52 +00:00