Commit Graph

516 Commits

Author SHA1 Message Date
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
Julien Cristau
fad1c9638e Add Vcs-Git and Vcs-Browser control fields. 2008-03-30 20:38:40 +02:00
Julien Cristau
d922cb8351 Bump Standards-Version to 3.7.3. 2008-03-30 20:37:33 +02:00
Julien Cristau
b749a72e70 Add symbols file for libpixman-1-0. 2008-03-30 20:31:03 +02:00
Julien Cristau
42782cdb7b New upstream release.
Bump shlibs to 0.10.0.
2008-03-30 20:30:56 +02:00
Julien Cristau
7d708c739c Merge tag 'pixman-0.10.0' into debian-unstable 2008-03-30 20:30:42 +02:00
Julien Cristau
01f30f4565 Delete files generated by autoreconf 2008-03-30 20:30:35 +02:00
Julien Cristau
796adb434e Run autoreconf at build-time
Build-depend on automake, autoconf, libtool and pkg-config.  Drop patch for
maintainer mode, and drop build-dep on quilt and corresponding code in
debian/rules. Add new rules autogen and config, where we run autoreconf and
configure, respectively.  Update clean rule to remove files generated by
autogen.
2008-03-30 20:30:14 +02:00
Aaron Plattner
a331519b86 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.
2008-03-28 12:26:18 -07:00
Aaron Plattner
0c3547bad4 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.
2008-03-28 12:16:07 -07:00
Søren Sandmann Pedersen
cd3799317f Post-release version bump 2008-03-28 05:23:34 -04:00
Søren Sandmann Pedersen
92b675db8d Fix log generation 2008-03-27 10:08:35 -04:00
Søren Sandmann Pedersen
0c33317f59 Bump version to 0.10.0.
Also a bunch of changes to the release make targets
2008-03-27 10:07:11 -04:00
Søren Sandmann Pedersen
0637671959 Make username configurable; add Makefile.win32 to EXTRA_DIST 2008-03-27 08:37:29 -04:00
Vladimir Vukicevic
10a227ed93 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.
2008-03-26 16:10:43 -07:00
Søren Sandmann
eec44d371f Make it distcheck 2008-03-26 02:20:42 -04:00
Søren Sandmann
03b9c14377 Move version functions from pixman-version.c into pixman-utils.c.
Delete pixman-version.c
2008-03-26 01:49:56 -04:00
Søren Sandmann
cb7fceabb9 Make pixman-version.h print an error if you include it by itself 2008-03-25 23:11:19 -04:00
Søren Sandmann
0982adf079 Update TODO 2008-03-25 23:07:03 -04:00
Carl Worth
3e700366ef Eliminate duplicate case values that were breaking the compilation. 2008-03-25 19:43:40 -07:00
Carl Worth
7fa668f4ac New API: pixman_format_supported_destination and pixman_format_supported_source
These functions allow for callers to use the PIXMAN_FORMAT macro to
construct a format code and to then determine if the resulting code
is supported by pixman for either destination or source surfaces.
2008-03-25 13:12:29 -07:00
Carl Worth
bd2a53fc4e Add pixman_version function and related macros
The complete new API here makes available compile-tim version checks:

	PIXMAN_VERSION
	PIXMAN_VERSION_STRING
	PIXMAN_VERSION_ENCODE

as well as run-time version checks:

	pixman_version()
	pixman_version_string()
2008-03-25 12:38:01 -07:00
Carl Worth
b078cb3250 Increment pixman version to 0.9.7
This represents the in-development state, (so that the next release
will be 0.9.8 with an even-number micro component).
2008-03-25 12:38:01 -07:00
Carl Worth
0c2c891c8f Document incrementing the micro version immediately after a release
This is a cairo-like scheme where the version number is incremented
both immediately before and immediately after a release.
2008-03-25 12:38:01 -07:00
Vladimir Vukicevic
11cfd5d1bb Only define pixman_have_sse() as function if USE_SSE2 is also defined
.. otherwise it's already a macro evaluating to FALSE.
2008-03-25 11:45:56 -07:00
Luca Barbato
e63bf1554b Make configure message alike the mmx/sse/sse2 ones 2008-03-23 16:12:31 +01:00
Luca Barbato
dcc5301780 Update vmx 2008-03-23 16:04:26 +01:00
Luca Barbato
550e5f54ab update patch 2008-03-22 11:28:48 +01:00
Aaron Plattner
4f33f454c6 Move fbFetchTransformed and friends into pixman-transformed.c. 2008-03-21 19:02:18 -07:00
Aaron Plattner
90ff2bfbe5 Move pixmanFetchSourcePict and friends into pixman-source.c. 2008-03-21 19:01:39 -07:00
Aaron Plattner
76febfcd20 Move fetch, fetchPixel, and store routines into pixman-access.c. 2008-03-21 19:00:59 -07:00
Aaron Plattner
d6143b8634 Get rid of fbPrepareAccess and fbFinishAccess, since the former was unused and neither one did anything anyway. 2008-03-21 17:13:32 -07:00
Aaron Plattner
9fe5913c34 Rename pixman-compose-operators.c to pixman-combine.c and fix the build.
Add pixman-combine.c to the source list.  Make the functions in it static.  Call
fbCombineInU through the PIXMAN_COMPOSE_FUNCTIONS table.  Declare the functions
tables as extern in pixman-private.h.
2008-03-21 14:15:34 -07:00