profile/ivi/pixman.git
16 years agoFix for bug 17477.
Søren Sandmann Pedersen [Tue, 9 Sep 2008 14:49:56 +0000 (10:49 -0400)]
Fix for bug 17477.

over_2x128 was changing the alphaLo and alphaHi arguments, causing
stripes.

16 years agoUpdate TODO
Søren Sandmann Pedersen [Sun, 7 Sep 2008 04:40:09 +0000 (00:40 -0400)]
Update TODO

16 years agoExtend clip-test to demonstrate a bug in source clipping
Søren Sandmann Pedersen [Sun, 7 Sep 2008 04:13:10 +0000 (00:13 -0400)]
Extend clip-test to demonstrate a bug in source clipping

16 years agoFix bug in pixman_image_is_opaque()
Søren Sandmann Pedersen [Sun, 7 Sep 2008 03:49:25 +0000 (23:49 -0400)]
Fix bug in pixman_image_is_opaque()

Non-repeating gradient images would be reported as opaque. Also add
new test program to test source clipping.

16 years agoUpdate RELEASING
Søren Sandmann Pedersen [Sat, 6 Sep 2008 10:17:32 +0000 (06:17 -0400)]
Update RELEASING

16 years agoBump release
Søren Sandmann Pedersen [Sat, 6 Sep 2008 10:15:31 +0000 (06:15 -0400)]
Bump release

16 years agoCheck for __sun || __sun in pixman.h. Update TODO
Søren Sandmann Pedersen [Sat, 6 Sep 2008 09:14:18 +0000 (05:14 -0400)]
Check for __sun || __sun in pixman.h. Update TODO

Reported by Bernd Nies.

16 years agoUse error instead of #error in a couple of other places
Søren Sandmann Pedersen [Sat, 6 Sep 2008 08:33:16 +0000 (04:33 -0400)]
Use error instead of #error in a couple of other places

16 years agoMinor portability fixes
Peter O'Gorman [Fri, 15 Aug 2008 20:00:24 +0000 (15:00 -0500)]
Minor portability fixes

Use AC_C_INLINE to figure out `inline'.
IRIX compiler does not exit with a non-zero exit status when it sees #error

16 years agoWin32 build system fixes
Frédéric Plourde [Thu, 4 Sep 2008 20:30:21 +0000 (16:30 -0400)]
Win32 build system fixes

Signed-off-by: Søren Sandmann Pedersen <sandmann@daimi.au.dk>
16 years agoMake sure pixman-combine{32,64}.h are disted
Søren Sandmann Pedersen [Thu, 4 Sep 2008 20:21:08 +0000 (16:21 -0400)]
Make sure pixman-combine{32,64}.h are disted

16 years agoRename pixman-sse.h pixman-sse2.h
Søren Sandmann Pedersen [Sun, 24 Aug 2008 04:40:16 +0000 (00:40 -0400)]
Rename pixman-sse.h pixman-sse2.h

16 years agoA few other renamings of SSE->SSE2
Søren Sandmann Pedersen [Sun, 24 Aug 2008 03:59:49 +0000 (23:59 -0400)]
A few other renamings of SSE->SSE2

16 years agoBe consistent in naming SSE2 related things SSE2
Søren Sandmann Pedersen [Sun, 24 Aug 2008 03:54:24 +0000 (23:54 -0400)]
Be consistent in naming SSE2 related things SSE2

16 years agoRemove use of MMX extensions.
Søren Sandmann Pedersen [Sun, 24 Aug 2008 03:42:36 +0000 (23:42 -0400)]
Remove use of MMX extensions.

They were never a big improvement anyway, and now that we have SSE2
support, they would only be useful on Pentium IIIs, and only if
explicitly enabled, which most distributions couldn't do anyway.

16 years ago[sse2] Change pixman-sse to pass __mm128i args as pointers, so as not to confuse...
Andre Tupinamba [Thu, 21 Aug 2008 21:43:17 +0000 (14:43 -0700)]
[sse2] Change pixman-sse to pass __mm128i args as pointers, so as not to confuse MSVC

16 years agoUse hidden attribute for private functions when compiling with Sun Studio
Ginn Chen [Thu, 21 Aug 2008 21:21:01 +0000 (14:21 -0700)]
Use hidden attribute for private functions when compiling with Sun Studio

https://bugs.freedesktop.org/show_bug.cgi?id=17183

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
16 years agoAdd sys/inttypes.h include for AIX
Vladimir Vukicevic [Tue, 19 Aug 2008 18:57:53 +0000 (11:57 -0700)]
Add sys/inttypes.h include for AIX

16 years agoMerge branch 'master' of sandmann@git.freedesktop.org:/git/pixman
Søren Sandmann Pedersen [Thu, 31 Jul 2008 17:32:59 +0000 (13:32 -0400)]
Merge branch 'master' of sandmann@git.freedesktop.org:/git/pixman

16 years agoBug 16921. MMX and SSE2 intrinsics not enabled when compiling with Intel's icc
Søren Sandmann Pedersen [Thu, 31 Jul 2008 17:32:38 +0000 (13:32 -0400)]
Bug 16921. MMX and SSE2 intrinsics not enabled when compiling with Intel's icc

Remove GCC specific inline-growth flags, and use __force_inline__ in
pixman-sse2 instead. Based on patch by Matt Turner.

16 years agoAdd depth 30 formats to pixman_format_supported_source.
Aaron Plattner [Fri, 25 Jul 2008 17:14:29 +0000 (10:14 -0700)]
Add depth 30 formats to pixman_format_supported_source.

Thanks to Julien Cristau for pointing out that these were missing.

16 years agoDon't require GCC 4.2 on x86-64
Søren Sandmann Pedersen [Tue, 22 Jul 2008 02:06:02 +0000 (22:06 -0400)]
Don't require GCC 4.2 on x86-64

16 years agoTODO
Søren Sandmann Pedersen [Tue, 22 Jul 2008 01:55:55 +0000 (21:55 -0400)]
TODO

16 years agoUse CopyAreasse2, plus a compatibility fix
André Tupinambá [Tue, 22 Jul 2008 01:53:20 +0000 (21:53 -0400)]
Use CopyAreasse2, plus a compatibility fix

16 years agoFix typo in sse2 configure logic
Søren Sandmann Pedersen [Fri, 18 Jul 2008 18:49:35 +0000 (14:49 -0400)]
Fix typo in sse2 configure logic

16 years agoWin32 Makefile fix
Frederic Plourde [Thu, 17 Jul 2008 20:51:31 +0000 (13:51 -0700)]
Win32 Makefile fix

16 years agoUpdate RELEASING and release targets in Makefile.am
Søren Sandmann Pedersen [Thu, 17 Jul 2008 18:13:34 +0000 (14:13 -0400)]
Update RELEASING and release targets in Makefile.am

16 years agoPost-release version-bump
Søren Sandmann Pedersen [Thu, 17 Jul 2008 18:07:23 +0000 (14:07 -0400)]
Post-release version-bump

16 years agoPre-release version bump
Søren Sandmann Pedersen [Thu, 17 Jul 2008 17:38:57 +0000 (13:38 -0400)]
Pre-release version bump

16 years agoMake a couple of functions static
Søren Sandmann Pedersen [Thu, 17 Jul 2008 17:37:56 +0000 (13:37 -0400)]
Make a couple of functions static

16 years agoSpeed up fbOver
Jeff Muizelaar [Thu, 17 Jul 2008 17:32:45 +0000 (13:32 -0400)]
Speed up fbOver

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

16 years agoComment FbByteMulAdd
Jeff Muizelaar [Thu, 17 Jul 2008 17:32:08 +0000 (13:32 -0400)]
Comment FbByteMulAdd

16 years agofix --enable-{mmx,sse2,vmx}
Julien Cristau [Wed, 16 Jul 2008 20:03:29 +0000 (22:03 +0200)]
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.

16 years agoAdd pixman-1-uninstalled.pc file
Damien Carbery [Wed, 16 Jul 2008 19:47:38 +0000 (15:47 -0400)]
Add pixman-1-uninstalled.pc file

Signed-off-by: Søren Sandmann <sandmann@redhat.com>
16 years agoUse -no-undefined -- fixes bug 15927
Søren Sandmann [Wed, 16 Jul 2008 19:19:17 +0000 (15:19 -0400)]
Use -no-undefined -- fixes bug 15927

16 years agoUse <inttypes.h> on most types of Unix.
Søren Sandmann Pedersen [Wed, 16 Jul 2008 19:07:30 +0000 (15:07 -0400)]
Use <inttypes.h> on most types of Unix.

Fix for bug 15560.

16 years agoUpdate TODO
Søren Sandmann [Wed, 16 Jul 2008 18:56:48 +0000 (14:56 -0400)]
Update TODO

16 years agoRemove unused pixman-combine.c
Søren Sandmann [Wed, 16 Jul 2008 18:30:46 +0000 (14:30 -0400)]
Remove unused pixman-combine.c

16 years agoFix SSE2 bug where x888 pixels were treated as 8888
André Tupinambá [Wed, 16 Jul 2008 18:29:29 +0000 (14:29 -0400)]
Fix SSE2 bug where x888 pixels were treated as 8888

16 years agofix Altivec detection
Benjamin Otte [Wed, 16 Jul 2008 18:41:02 +0000 (20:41 +0200)]
fix Altivec detection

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

16 years agoFix fbCompositeSrc_x888xnx8888mmx to properly ignore source alpha
Behdad Esfahbod [Tue, 15 Jul 2008 23:49:32 +0000 (16:49 -0700)]
Fix fbCompositeSrc_x888xnx8888mmx to properly ignore source alpha

16 years agomake --{en,dis}able-gtk work correctly
Julien Cristau [Tue, 15 Jul 2008 14:59:21 +0000 (16:59 +0200)]
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.

16 years agoFix bug 16310 in the SSE2 fast path in function fbCompositeSolidMask_nx8888x0565Csse2
André Tupinambá [Tue, 8 Jul 2008 18:15:27 +0000 (14:15 -0400)]
Fix bug 16310 in the SSE2 fast path in function fbCompositeSolidMask_nx8888x0565Csse2

16 years agoUpdate TODO
Søren Sandmann Pedersen [Tue, 8 Jul 2008 18:10:56 +0000 (14:10 -0400)]
Update TODO

16 years agoAdd a lossy 32-bit generic pixel fetch function for wide surfaces.
Aaron Plattner [Thu, 26 Jun 2008 00:55:28 +0000 (17:55 -0700)]
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.

16 years agoUnexport or delete various functions
Søren Sandmann [Fri, 27 Jun 2008 05:11:30 +0000 (01:11 -0400)]
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.

16 years agoOnly export the 16 bit version of pixman_region_set_static_pointers()
Søren Sandmann [Fri, 27 Jun 2008 05:05:30 +0000 (01:05 -0400)]
Only export the 16 bit version of pixman_region_set_static_pointers()

16 years agoUpdate versioning documentation
Søren Sandmann Pedersen [Wed, 25 Jun 2008 13:46:12 +0000 (09:46 -0400)]
Update versioning documentation

16 years agoUpdate release instructions
Søren Sandmann Pedersen [Wed, 25 Jun 2008 13:36:13 +0000 (09:36 -0400)]
Update release instructions

16 years agoExplicitly use my GPG key for signing.
Søren Sandmann Pedersen [Wed, 25 Jun 2008 13:24:00 +0000 (09:24 -0400)]
Explicitly use my GPG key for signing.

16 years agoPost-release version bump
Søren Sandmann Pedersen [Wed, 25 Jun 2008 13:16:09 +0000 (09:16 -0400)]
Post-release version bump

16 years agoPre-release version bump
Søren Sandmann Pedersen [Wed, 25 Jun 2008 11:58:21 +0000 (07:58 -0400)]
Pre-release version bump

16 years agoTODO
Søren Sandmann Pedersen [Sun, 22 Jun 2008 17:44:23 +0000 (13:44 -0400)]
TODO

16 years agoAdd configure time options to disable mmx/sse2/vmx
Søren Sandmann Pedersen [Sun, 22 Jun 2008 17:42:21 +0000 (13:42 -0400)]
Add configure time options to disable mmx/sse2/vmx

16 years agopixman-sse.c: silence pointer-cast compiler warnings.
David Sharp [Fri, 20 Jun 2008 03:23:33 +0000 (20:23 -0700)]
pixman-sse.c: silence pointer-cast compiler warnings.

Cast pointers to words of the same size, not 32-bits.

Signed-off-by: Søren Sandmann Pedersen <sandmann@redhat.com>
16 years agoUpdate TODO
Søren Sandmann Pedersen [Fri, 13 Jun 2008 20:16:59 +0000 (16:16 -0400)]
Update TODO

16 years agoFix implicit declaration of function 'free'.
Luo Jinghua [Sat, 14 Jun 2008 01:07:22 +0000 (09:07 +0800)]
Fix implicit declaration of function 'free'.

Otherwise pointer will be truncated on 64bit arch and your programs will crash.

16 years agoFix memory leak by freeing boxes{16,32}.
Maximilian Grothusmann [Fri, 13 Jun 2008 19:44:50 +0000 (12:44 -0700)]
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.

16 years agoUse pixman_malloc_ab instead of plain malloc for the fbStore64_generic scratch buffer.
Aaron Plattner [Fri, 13 Jun 2008 16:52:53 +0000 (09:52 -0700)]
Use pixman_malloc_ab instead of plain malloc for the fbStore64_generic scratch buffer.

16 years agoMove PIXMAN_FORMAT_16BPC to pixman-private.h
Søren Sandmann Pedersen [Fri, 13 Jun 2008 04:25:45 +0000 (00:25 -0400)]
Move PIXMAN_FORMAT_16BPC to pixman-private.h

16 years agoDecide based on the image formats whether we need wide compositing.
Aaron Plattner [Sat, 7 Jun 2008 06:02:51 +0000 (23:02 -0700)]
Decide based on the image formats whether we need wide compositing.

Signed-off-by: Søren Sandmann Pedersen <sandmann@redhat.com>
16 years agoTake the source format into account in pixman_expand.
Aaron Plattner [Sat, 7 Jun 2008 02:40:25 +0000 (19:40 -0700)]
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.

Signed-off-by: Søren Sandmann Pedersen <sandmann@redhat.com>
16 years agoMake expansion and contraction loops clearer.
Aaron Plattner [Sat, 7 Jun 2008 01:51:48 +0000 (18:51 -0700)]
Make expansion and contraction loops clearer.

Signed-off-by: Søren Sandmann Pedersen <sandmann@redhat.com>
16 years agoAdd wide source picture, external alpha, and transformed image routines.
Aaron Plattner [Sat, 7 Jun 2008 01:05:15 +0000 (18:05 -0700)]
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.

Signed-off-by: Søren Sandmann Pedersen <sandmann@redhat.com>
16 years agoAdd wide fetch/store functions.
Aaron Plattner [Fri, 6 Jun 2008 22:45:17 +0000 (15:45 -0700)]
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.

Signed-off-by: Søren Sandmann Pedersen <sandmann@redhat.com>
16 years agoAdd expand and contract functions to convert between ARGB8 and ARGB16.
Aaron Plattner [Fri, 6 Jun 2008 22:30:52 +0000 (15:30 -0700)]
Add expand and contract functions to convert between ARGB8 and ARGB16.

The expansion function isn't quite correct, but gives reasonable results.

Signed-off-by: Søren Sandmann Pedersen <sandmann@redhat.com>
16 years agoPost-release version bump
Søren Sandmann Pedersen [Mon, 9 Jun 2008 17:06:50 +0000 (13:06 -0400)]
Post-release version bump

16 years agoPre-release version bump
Søren Sandmann Pedersen [Mon, 9 Jun 2008 16:32:56 +0000 (12:32 -0400)]
Pre-release version bump

16 years agoAdd back prototypes for pixman_version() and pixman_version_string() to pixman.h
Søren Sandmann Pedersen [Mon, 9 Jun 2008 16:28:05 +0000 (12:28 -0400)]
Add back prototypes for pixman_version() and pixman_version_string() to pixman.h

16 years agoAdd a couple more missing PIXMAN_EXPORTs
Julien Cristau [Mon, 9 Jun 2008 10:01:37 +0000 (12:01 +0200)]
Add a couple more missing PIXMAN_EXPORTs

16 years agoAdd PIXMAN_EXPORT for pixman_region_equal
Julien Cristau [Mon, 9 Jun 2008 09:53:23 +0000 (11:53 +0200)]
Add PIXMAN_EXPORT for pixman_region_equal

This used to be exported, so removing the export broke ABI.

16 years agoPost-release version bump
Søren Sandmann Pedersen [Mon, 9 Jun 2008 06:43:37 +0000 (02:43 -0400)]
Post-release version bump

16 years agoBump version number
Søren Sandmann Pedersen [Mon, 9 Jun 2008 05:59:56 +0000 (01:59 -0400)]
Bump version number

16 years agoMerge region32 branch; fix conflicts
Søren Sandmann Pedersen [Mon, 9 Jun 2008 05:57:26 +0000 (01:57 -0400)]
Merge region32 branch; fix conflicts

16 years agoUnbump version number
Søren Sandmann Pedersen [Mon, 9 Jun 2008 05:53:03 +0000 (01:53 -0400)]
Unbump version number

16 years agoUnbump version number; remove file added to EXTRA_DIST
Søren Sandmann Pedersen [Mon, 9 Jun 2008 05:52:36 +0000 (01:52 -0400)]
Unbump version number; remove file added to EXTRA_DIST

16 years agoBump version number and make it distcheck
Søren Sandmann [Mon, 9 Jun 2008 05:29:14 +0000 (01:29 -0400)]
Bump version number and make it distcheck

16 years agoBump version number and make it distcheck
Søren Sandmann [Mon, 9 Jun 2008 05:29:14 +0000 (01:29 -0400)]
Bump version number and make it distcheck

16 years agoFix uses of short variables in pixman-region.c
Søren Sandmann [Mon, 9 Jun 2008 05:03:15 +0000 (01:03 -0400)]
Fix uses of short variables in pixman-region.c

16 years agoAdd infinite loop test
Søren Sandmann [Mon, 9 Jun 2008 04:51:28 +0000 (00:51 -0400)]
Add infinite loop test

16 years agoExport pixman_compute_composite_region32() and use it in walk_region
Søren Sandmann [Mon, 9 Jun 2008 04:00:07 +0000 (00:00 -0400)]
Export pixman_compute_composite_region32() and use it in walk_region

16 years agoFix bug in pixman_compute_composite_region()
Søren Sandmann [Mon, 9 Jun 2008 03:53:35 +0000 (23:53 -0400)]
Fix bug in pixman_compute_composite_region()

It was using the output region as the input. Add and use
pixman_region16_copy_from_region32().

16 years agoMerge branch 'master' into region32
Søren Sandmann [Mon, 9 Jun 2008 03:39:29 +0000 (23:39 -0400)]
Merge branch 'master' into region32

16 years agoCall _mm_empty() at the end of fbComposeSetupSSE
Søren Sandmann [Mon, 9 Jun 2008 03:39:03 +0000 (23:39 -0400)]
Call _mm_empty() at the end of fbComposeSetupSSE

16 years agoAdd pixman_image_set_clip_region32
Søren Sandmann [Mon, 9 Jun 2008 02:48:59 +0000 (22:48 -0400)]
Add pixman_image_set_clip_region32

16 years agoUse 32 bit regions internally
Søren Sandmann [Mon, 9 Jun 2008 02:20:44 +0000 (22:20 -0400)]
Use 32 bit regions internally

16 years agoAdd pixman_region32_copy_from_region16
Søren Sandmann [Mon, 9 Jun 2008 02:07:46 +0000 (22:07 -0400)]
Add pixman_region32_copy_from_region16

16 years agoSome formatting fixing
Søren Sandmann [Mon, 9 Jun 2008 01:43:01 +0000 (21:43 -0400)]
Some formatting fixing

16 years agoMove all the PIXMAN_EXPORT into .c files
Søren Sandmann [Mon, 9 Jun 2008 01:41:54 +0000 (21:41 -0400)]
Move all the PIXMAN_EXPORT into .c files

16 years agoMove PIXMAN_EXPORT into pixman-region.c
Søren Sandmann [Mon, 9 Jun 2008 01:13:52 +0000 (21:13 -0400)]
Move PIXMAN_EXPORT into pixman-region.c

16 years agoMerge branch 'master' into region32
Søren Sandmann [Mon, 9 Jun 2008 00:14:52 +0000 (20:14 -0400)]
Merge branch 'master' into region32

16 years agoFix forgotten use of pixman-combine.h
Søren Sandmann [Mon, 9 Jun 2008 00:01:37 +0000 (20:01 -0400)]
Fix forgotten use of pixman-combine.h

16 years agoMerge branch 'vmx'
Søren Sandmann [Sun, 8 Jun 2008 23:55:43 +0000 (19:55 -0400)]
Merge branch 'vmx'

16 years agoRename pixman-combine.h -> pixman-combin32.h
Søren Sandmann [Sun, 8 Jun 2008 23:55:35 +0000 (19:55 -0400)]
Rename pixman-combine.h -> pixman-combin32.h

16 years agoFix up types in pixman32-region.c
Søren Sandmann [Sun, 8 Jun 2008 23:32:15 +0000 (19:32 -0400)]
Fix up types in pixman32-region.c

16 years agoAdd prototypes for 32 bit region methods
Søren Sandmann [Sun, 8 Jun 2008 23:31:31 +0000 (19:31 -0400)]
Add prototypes for 32 bit region methods

16 years agoAdd pixman-region32.c
Søren Sandmann [Sun, 8 Jun 2008 23:31:04 +0000 (19:31 -0400)]
Add pixman-region32.c

16 years agoAdd prefixes to global primitive regions
Søren Sandmann [Sun, 8 Jun 2008 23:24:28 +0000 (19:24 -0400)]
Add prefixes to global primitive regions

16 years agoDelete more unused stuff
Søren Sandmann [Sun, 8 Jun 2008 23:20:27 +0000 (19:20 -0400)]
Delete more unused stuff

16 years agoDelete more unused stuff
Søren Sandmann [Sun, 8 Jun 2008 23:16:55 +0000 (19:16 -0400)]
Delete more unused stuff