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>
Søren Sandmann Pedersen [Fri, 13 Jun 2008 20:16:59 +0000 (16:16 -0400)]
Update TODO
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.
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.
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.
Søren Sandmann Pedersen [Fri, 13 Jun 2008 04:25:45 +0000 (00:25 -0400)]
Move PIXMAN_FORMAT_16BPC to pixman-private.h
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>
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>
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>
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>
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>
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>
Søren Sandmann Pedersen [Mon, 9 Jun 2008 17:06:50 +0000 (13:06 -0400)]
Post-release version bump
Søren Sandmann Pedersen [Mon, 9 Jun 2008 16:32:56 +0000 (12:32 -0400)]
Pre-release version bump
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
Julien Cristau [Mon, 9 Jun 2008 10:01:37 +0000 (12:01 +0200)]
Add a couple more missing PIXMAN_EXPORTs
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.
Søren Sandmann Pedersen [Mon, 9 Jun 2008 06:43:37 +0000 (02:43 -0400)]
Post-release version bump
Søren Sandmann Pedersen [Mon, 9 Jun 2008 05:59:56 +0000 (01:59 -0400)]
Bump version number
Søren Sandmann Pedersen [Mon, 9 Jun 2008 05:57:26 +0000 (01:57 -0400)]
Merge region32 branch; fix conflicts
Søren Sandmann Pedersen [Mon, 9 Jun 2008 05:53:03 +0000 (01:53 -0400)]
Unbump version number
Søren Sandmann Pedersen [Mon, 9 Jun 2008 05:52:36 +0000 (01:52 -0400)]
Unbump version number; remove file added to EXTRA_DIST
Søren Sandmann [Mon, 9 Jun 2008 05:29:14 +0000 (01:29 -0400)]
Bump 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
Søren Sandmann [Mon, 9 Jun 2008 05:03:15 +0000 (01:03 -0400)]
Fix uses of short variables in pixman-region.c
Søren Sandmann [Mon, 9 Jun 2008 04:51:28 +0000 (00:51 -0400)]
Add infinite loop test
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
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().
Søren Sandmann [Mon, 9 Jun 2008 03:39:29 +0000 (23:39 -0400)]
Merge branch 'master' into region32
Søren Sandmann [Mon, 9 Jun 2008 03:39:03 +0000 (23:39 -0400)]
Call _mm_empty() at the end of fbComposeSetupSSE
Søren Sandmann [Mon, 9 Jun 2008 02:48:59 +0000 (22:48 -0400)]
Add pixman_image_set_clip_region32
Søren Sandmann [Mon, 9 Jun 2008 02:20:44 +0000 (22:20 -0400)]
Use 32 bit regions internally
Søren Sandmann [Mon, 9 Jun 2008 02:07:46 +0000 (22:07 -0400)]
Add pixman_region32_copy_from_region16
Søren Sandmann [Mon, 9 Jun 2008 01:43:01 +0000 (21:43 -0400)]
Some formatting fixing
Søren Sandmann [Mon, 9 Jun 2008 01:41:54 +0000 (21:41 -0400)]
Move all the PIXMAN_EXPORT into .c files
Søren Sandmann [Mon, 9 Jun 2008 01:13:52 +0000 (21:13 -0400)]
Move PIXMAN_EXPORT into pixman-region.c
Søren Sandmann [Mon, 9 Jun 2008 00:14:52 +0000 (20:14 -0400)]
Merge branch 'master' into region32
Søren Sandmann [Mon, 9 Jun 2008 00:01:37 +0000 (20:01 -0400)]
Fix forgotten use of pixman-combine.h
Søren Sandmann [Sun, 8 Jun 2008 23:55:43 +0000 (19:55 -0400)]
Merge branch 'vmx'
Søren Sandmann [Sun, 8 Jun 2008 23:55:35 +0000 (19:55 -0400)]
Rename pixman-combine.h -> pixman-combin32.h
Søren Sandmann [Sun, 8 Jun 2008 23:32:15 +0000 (19:32 -0400)]
Fix up types in pixman32-region.c
Søren Sandmann [Sun, 8 Jun 2008 23:31:31 +0000 (19:31 -0400)]
Add prototypes for 32 bit region methods
Søren Sandmann [Sun, 8 Jun 2008 23:31:04 +0000 (19:31 -0400)]
Add pixman-region32.c
Søren Sandmann [Sun, 8 Jun 2008 23:24:28 +0000 (19:24 -0400)]
Add prefixes to global primitive regions
Søren Sandmann [Sun, 8 Jun 2008 23:20:27 +0000 (19:20 -0400)]
Delete more unused stuff
Søren Sandmann [Sun, 8 Jun 2008 23:16:55 +0000 (19:16 -0400)]
Delete more unused stuff
Søren Sandmann [Sun, 8 Jun 2008 23:15:41 +0000 (19:15 -0400)]
More data types; remove unused stuff
Søren Sandmann [Sun, 8 Jun 2008 23:12:29 +0000 (19:12 -0400)]
Add point_type_t
Søren Sandmann [Sun, 8 Jun 2008 23:11:24 +0000 (19:11 -0400)]
Replace pixman_box16_t with box_type_t
Søren Sandmann [Sun, 8 Jun 2008 23:07:30 +0000 (19:07 -0400)]
Add pixman-region16.c; compile that instead of pixman-region.c
Søren Sandmann [Sun, 8 Jun 2008 23:05:43 +0000 (19:05 -0400)]
macroize pixman-region.c
Luca Barbato [Sat, 7 Jun 2008 17:38:01 +0000 (19:38 +0200)]
Use sigaction instead of signal to restore the previous handler
Luca Barbato [Sat, 7 Jun 2008 17:28:10 +0000 (19:28 +0200)]
Use combine macros from the generated header
Luca Barbato [Sat, 7 Jun 2008 17:25:09 +0000 (19:25 +0200)]
Split combine.inc generated files in source and header
Dimitrios Apostolou [Tue, 3 Jun 2008 20:33:58 +0000 (16:33 -0400)]
Fix compilation on SGI
Signed-off-by: Søren Sandmann <sandmann@redhat.com>
Luca Barbato [Sun, 1 Jun 2008 14:37:52 +0000 (16:37 +0200)]
Fixup
Aaron Plattner [Sat, 3 May 2008 00:33:17 +0000 (17:33 -0700)]
Fix wide alpha fetch macro.
Signed-off-by: Soren Sandmann Pedersen <sandmann@redhat.com>
Aaron Plattner [Thu, 24 Apr 2008 00:30:14 +0000 (17:30 -0700)]
Use wide compositing functions when wide == 1.
Signed-off-by: Soren Sandmann Pedersen <sandmann@redhat.com>
Aaron Plattner [Tue, 15 Apr 2008 20:58:27 +0000 (13:58 -0700)]
Add infrastructure for allocating wide scanline buffers. Not yet used.
Signed-off-by: Soren Sandmann Pedersen <sandmann@redhat.com>
Aaron Plattner [Tue, 15 Apr 2008 20:13:46 +0000 (13:13 -0700)]
Split fetch/fetchPixel/store proc types into 32-bit and 64-bit versions.
Signed-off-by: Soren Sandmann Pedersen <sandmann@redhat.com>
Aaron Plattner [Fri, 4 Apr 2008 21:43:48 +0000 (14:43 -0700)]
Move the scanline buffer allocation logic into pixman_composite_rect_general.
Pass the src, mask, and dest buffers into pixman_composite_rect_general_* as
void* pointers since those functions should not do pointer arithmetic.
Signed-off-by: Soren Sandmann Pedersen <sandmann@redhat.com>
Søren Sandmann [Thu, 15 May 2008 05:07:59 +0000 (01:07 -0400)]
Update TODO
Søren Sandmann [Thu, 15 May 2008 05:00:28 +0000 (01:00 -0400)]
Work around GCC bug causing crashes in Mozilla with SSE2
When using SSE2 intrinsics, gcc assumes that the stack is 16 byte
aligned. Unfortunately some code, such as Mozilla and Mono contain
code that aligns the stack to 4 bytes.
The __force_align_arg_pointer__ makes gcc generate a prologue that
realigns the stack pointer to 16 bytes. Fix bug 15693.
Søren Sandmann [Thu, 8 May 2008 02:27:56 +0000 (22:27 -0400)]
Add support for 8 bit fills in pixman_fill_mmx()
Richard Hult [Sat, 3 May 2008 19:03:00 +0000 (15:03 -0400)]
Add --disable-gtk switch to configure
Signed-off-by: Søren Sandmann <sandmann@redhat.com>
Søren Sandmann [Sat, 3 May 2008 01:10:07 +0000 (21:10 -0400)]
Update TODO
Oswald Buddenhagen [Thu, 1 May 2008 08:50:58 +0000 (10:50 +0200)]
fix pixman compile with srcdir != builddir
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Thomas Zimmermann [Sat, 26 Apr 2008 02:13:24 +0000 (22:13 -0400)]
Remove trailing comma from enum (bug 15364)
Alan Coopersmith [Fri, 25 Apr 2008 01:10:56 +0000 (18:10 -0700)]
Fix pixman/Makefile.am to work with Solaris make
Luca Barbato [Wed, 23 Apr 2008 23:08:29 +0000 (01:08 +0200)]
Remove unused macro
Luca Barbato [Wed, 23 Apr 2008 23:06:38 +0000 (01:06 +0200)]
Remove VMX from CPUFeatures, ppc isn't using it at all
Luca Barbato [Wed, 23 Apr 2008 23:03:08 +0000 (01:03 +0200)]
Simplify cpu feature check
Luca Barbato [Wed, 23 Apr 2008 22:41:16 +0000 (00:41 +0200)]
Refactor path selection
Luca Barbato [Wed, 23 Apr 2008 22:36:51 +0000 (00:36 +0200)]
Force inlining
André Tupinambá [Wed, 23 Apr 2008 04:18:39 +0000 (00:18 -0400)]
Add SSE2 implementations of many compositing operations.
Luca Barbato [Sat, 12 Apr 2008 11:16:46 +0000 (13:16 +0200)]
Unbreak vmx pixman
Luca Barbato [Sat, 12 Apr 2008 07:53:24 +0000 (09:53 +0200)]
Merge branch 'master' into vmx
Conflicts:
pixman/pixman-pict.c
Søren Sandmann [Sat, 12 Apr 2008 04:22:35 +0000 (00:22 -0400)]
Simplify handling compiler handling in MMX code
Instead of using the parameters --param inline-unit-growth=10000 and
--param large-function-growth=10000", just make the inline functions
__always_inline__.
Also support Intel's compiler in pixman-mmx.c.
Based on a patch by Serhat <ubunturk@gmail.com>
Aaron Plattner [Fri, 4 Apr 2008 00:27:08 +0000 (17:27 -0700)]
Use a macro to append _accessors to things.
Signed-off-by: Søren Sandmann <sandmann@redhat.com>
Aaron Plattner [Wed, 2 Apr 2008 00:26:03 +0000 (17:26 -0700)]
Generate 64-bit combining functions.
Copy some macros from pixman-private.h into combine.inc and update them to
generate 64-bit versions as appropriate. Add a rule to generate
pixman-combine64.c and add it to the build.
Signed-off-by: Søren Sandmann <sandmann@redhat.com>
Aaron Plattner [Tue, 1 Apr 2008 23:31:26 +0000 (16:31 -0700)]
Replace hardcoded numbers and uint*_t in combine.inc.
The masks and shifts have been replaced with preprocessor defines generated by
combine.pl. The uint*_t types have been replaced with comp4_t, comp2_t, and
comp1_t depending on how many components the value is supposed to hold.
Signed-off-by: Søren Sandmann <sandmann@redhat.com>
Aaron Plattner [Mon, 31 Mar 2008 23:42:53 +0000 (16:42 -0700)]
Tack 32 onto the ends of the combining function types.
Signed-off-by: Søren Sandmann <sandmann@redhat.com>
Aaron Plattner [Mon, 31 Mar 2008 23:33:09 +0000 (16:33 -0700)]
Move combining routines into combine.inc and add a Perl rule to generate it.
This will eventually be used to search & replace types and mask/shift
calculations to generate a wide version of these functions.
Signed-off-by: Søren Sandmann <sandmann@redhat.com>
Aaron Plattner [Mon, 31 Mar 2008 23:09:44 +0000 (16:09 -0700)]
Move combining macros into pixman-combine.c.
Signed-off-by: Søren Sandmann <sandmann@redhat.com>
Søren Sandmann [Thu, 10 Apr 2008 01:39:29 +0000 (21:39 -0400)]
Require GCC 3.4 for SSE and SSE2.
Also include <emmintrin.h> in the SSE2 test and use SSE_FLAGS rather than MMX_FLAGS
Reported by Dave Yeo.
Søren Sandmann [Wed, 9 Apr 2008 01:58:00 +0000 (21:58 -0400)]
Fix bug in FbStore_b2g3r3
Antoine Azar [Sun, 6 Apr 2008 14:56:53 +0000 (10:56 -0400)]
Optimize operators based on source or dest opacity.
Check if we can replace our operator by a simpler one if the src or
dest are opaque The output operator should be mathematically
equivalent to the source.
Julien Cristau [Sun, 6 Apr 2008 15:12:12 +0000 (17:12 +0200)]
Revert "pixman-version.h is generated, don't distribute it"
This reverts commit
4fd8910ea499eb484e29c44dbee7dbc029656e9c.
Julien Cristau [Fri, 4 Apr 2008 19:36:02 +0000 (21:36 +0200)]
pixman-version.h is generated, don't distribute it
Frederic Plourde [Thu, 3 Apr 2008 20:52:54 +0000 (13:52 -0700)]
Add CopyAreammx fast path for argb32 SRC xrgb32 and abgr32 SRC xbgr32
Julien Cristau [Sun, 30 Mar 2008 18:53:42 +0000 (20:53 +0200)]
Remove prototype for nonexistent pixman_image_set_filter_params
Aaron Plattner [Fri, 28 Mar 2008 19:26:18 +0000 (12:26 -0700)]
Get rid of pixman_composeFunctions_accessors.
The combining functions operate on scratch memory, so they don't need the access
wrappers. There's also no reason not to use the MMX combining functions in the
accessor path.
Aaron Plattner [Fri, 28 Mar 2008 19:16:07 +0000 (12:16 -0700)]
Fix test build when srcdir != builddir.
The tests were including pixman.h, but pixman.h couldn't find pixman-version.h
because it was in $(top_builddir)/pixman rather than $(top_srcdir)/pixman.
Søren Sandmann Pedersen [Fri, 28 Mar 2008 09:23:34 +0000 (05:23 -0400)]
Post-release version bump
Søren Sandmann Pedersen [Thu, 27 Mar 2008 14:08:35 +0000 (10:08 -0400)]
Fix log generation
Søren Sandmann Pedersen [Thu, 27 Mar 2008 14:07:11 +0000 (10:07 -0400)]
Bump version to 0.10.0.
Also a bunch of changes to the release make targets
Søren Sandmann Pedersen [Thu, 27 Mar 2008 12:37:29 +0000 (08:37 -0400)]
Make username configurable; add Makefile.win32 to EXTRA_DIST
Vladimir Vukicevic [Wed, 26 Mar 2008 23:10:43 +0000 (16:10 -0700)]
Fix up unsigned long long/ullong usage
A few stray "unsigned long long"s were in place, along with
a ullong typedef outside of the appropriate ifdef.
Søren Sandmann [Wed, 26 Mar 2008 06:20:42 +0000 (02:20 -0400)]
Make it distcheck
Søren Sandmann [Wed, 26 Mar 2008 05:49:56 +0000 (01:49 -0400)]
Move version functions from pixman-version.c into pixman-utils.c.
Delete pixman-version.c