Commit Graph

398 Commits

Author SHA1 Message Date
Søren Sandmann
cab6a175ec Delete more unused stuff 2008-06-08 19:20:27 -04:00
Søren Sandmann
9395f08d6e Delete more unused stuff 2008-06-08 19:16:55 -04:00
Søren Sandmann
b00fcb6d62 More data types; remove unused stuff 2008-06-08 19:15:41 -04:00
Søren Sandmann
4bdcd3bdb1 Add point_type_t 2008-06-08 19:12:29 -04:00
Søren Sandmann
abf6b6ca6c Replace pixman_box16_t with box_type_t 2008-06-08 19:11:24 -04:00
Søren Sandmann
68ccaa0675 Add pixman-region16.c; compile that instead of pixman-region.c 2008-06-08 19:07:30 -04:00
Søren Sandmann
149477457c macroize pixman-region.c 2008-06-08 19:05:43 -04:00
Luca Barbato
567b4c2550 Use sigaction instead of signal to restore the previous handler 2008-06-07 19:38:01 +02:00
Luca Barbato
7ef19261ee Use combine macros from the generated header 2008-06-07 19:28:10 +02:00
Luca Barbato
795fd8a4c0 Split combine.inc generated files in source and header 2008-06-07 19:25:09 +02:00
Dimitrios Apostolou
9267b0bb54 Fix compilation on SGI
Signed-off-by: Søren Sandmann <sandmann@redhat.com>
2008-06-03 16:33:58 -04:00
Luca Barbato
8ef3f49a95 Fixup 2008-06-01 16:37:52 +02:00
Aaron Plattner
9a6d3a1dcf Fix wide alpha fetch macro.
Signed-off-by: Soren Sandmann Pedersen <sandmann@redhat.com>
2008-05-27 13:07:55 -04:00
Aaron Plattner
86ed05b0f9 Use wide compositing functions when wide == 1.
Signed-off-by: Soren Sandmann Pedersen <sandmann@redhat.com>
2008-05-27 13:05:23 -04:00
Aaron Plattner
4e2d2546b7 Add infrastructure for allocating wide scanline buffers. Not yet used.
Signed-off-by: Soren Sandmann Pedersen <sandmann@redhat.com>
2008-05-27 13:03:20 -04:00
Aaron Plattner
598334a157 Split fetch/fetchPixel/store proc types into 32-bit and 64-bit versions.
Signed-off-by: Soren Sandmann Pedersen <sandmann@redhat.com>
2008-05-27 12:55:43 -04:00
Aaron Plattner
4a7e1676fd 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>
2008-05-27 12:53:18 -04:00
Søren Sandmann
30bdbbed07 Update TODO 2008-05-15 01:07:59 -04:00
Søren Sandmann
d71bfc7777 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.
2008-05-15 01:00:28 -04:00
Søren Sandmann
1f275b4bdc Add support for 8 bit fills in pixman_fill_mmx() 2008-05-07 22:27:56 -04:00
Richard Hult
a56df9149d Add --disable-gtk switch to configure
Signed-off-by: Søren Sandmann <sandmann@redhat.com>
2008-05-03 15:03:00 -04:00
Søren Sandmann
9aa1c4e5d2 Update TODO 2008-05-02 21:10:07 -04:00
Oswald Buddenhagen
1e1c8a1f52 fix pixman compile with srcdir != builddir
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2008-05-01 18:21:03 -07:00
Thomas Zimmermann
510ee5d8c2 Remove trailing comma from enum (bug 15364) 2008-04-25 22:13:24 -04:00
Alan Coopersmith
3cea659d72 Fix pixman/Makefile.am to work with Solaris make 2008-04-24 18:10:56 -07:00
Luca Barbato
27b753c9de Remove unused macro 2008-04-24 01:08:29 +02:00
Luca Barbato
584118fb6c Remove VMX from CPUFeatures, ppc isn't using it at all 2008-04-24 01:06:38 +02:00
Luca Barbato
fc96121afd Simplify cpu feature check 2008-04-24 01:03:08 +02:00
Luca Barbato
08b317a5f5 Refactor path selection 2008-04-24 00:41:16 +02:00
Luca Barbato
083cadd4c7 Force inlining 2008-04-24 00:36:51 +02:00
André Tupinambá
92ef26dfed Add SSE2 implementations of many compositing operations. 2008-04-23 00:18:39 -04:00
Julien Cristau
320e5a6dca Prepare changelog for upload. 2008-04-17 14:08:33 +02:00
Frans Pop
1cc6087bea Add libpixman-1-0-udeb (needed for cairo) 2008-04-17 02:20:50 +02:00
Luca Barbato
8e68544e0d Unbreak vmx pixman 2008-04-12 13:16:46 +02:00
Luca Barbato
1ec7bd2cb2 Merge branch 'master' into vmx
Conflicts:

	pixman/pixman-pict.c
2008-04-12 09:53:24 +02:00
Søren Sandmann
53882228c9 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>
2008-04-12 00:22:35 -04:00
Aaron Plattner
9f76747ade Use a macro to append _accessors to things.
Signed-off-by: Søren Sandmann <sandmann@redhat.com>
2008-04-11 20:01:45 -04:00
Aaron Plattner
a7065162af 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>
2008-04-11 19:58:36 -04:00
Aaron Plattner
48521e6fe4 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>
2008-04-11 19:58:31 -04:00
Aaron Plattner
e0e5c4b729 Tack 32 onto the ends of the combining function types.
Signed-off-by: Søren Sandmann <sandmann@redhat.com>
2008-04-11 19:58:26 -04:00
Aaron Plattner
f88519ed3f 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>
2008-04-11 19:58:19 -04:00
Aaron Plattner
30746b1e1e Move combining macros into pixman-combine.c.
Signed-off-by: Søren Sandmann <sandmann@redhat.com>
2008-04-11 19:57:02 -04:00
Søren Sandmann
1ae751215e 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.
2008-04-09 21:39:29 -04:00
Søren Sandmann
a1f51cb09e Fix bug in FbStore_b2g3r3 2008-04-08 21:58:00 -04:00
Antoine Azar
0b207ae110 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.
2008-04-06 12:48:29 -04:00
Julien Cristau
2976e69041 Revert "pixman-version.h is generated, don't distribute it"
This reverts commit 4fd8910ea4.
2008-04-06 17:12:12 +02:00
Julien Cristau
4fd8910ea4 pixman-version.h is generated, don't distribute it 2008-04-04 21:38:20 +02:00
Julien Cristau
899a87df8a Prepare changelog for upload 2008-04-04 14:31:46 +02:00
Frederic Plourde
4cde0886b5 Add CopyAreammx fast path for argb32 SRC xrgb32 and abgr32 SRC xbgr32 2008-04-03 13:52:54 -07:00
Julien Cristau
f45b331f7b Remove prototype for nonexistent pixman_image_set_filter_params 2008-03-30 20:59:52 +02:00