Commit Graph

1929 Commits

Author SHA1 Message Date
Søren Sandmann
819a6d6878 Beginning of the end for the Switch of Doom.
Add tables with information about the MMX and plain-C fast paths.
Update TODO.
2007-12-01 19:56:26 -05:00
Julien Cristau
a604a394e1 Prepare changelog for upload and add bug closer. 2007-11-25 00:42:51 +01:00
Julien Cristau
3362831e2b Delete unused file. 2007-11-08 11:26:19 +01:00
Julien Cristau
df9c870e24 New upstream release.
Drop patches 02_no-sse.diff and 03_fbFetchTransformed_64bit_fix.diff.
2007-11-08 11:21:32 +01:00
Julien Cristau
37882df5df Merge tag 'pixman-0.9.6' into debian-unstable 2007-11-08 11:12:24 +01:00
Carl Worth
f1f52ae4b1 Track name change from pixman.pc to pixman-1.pc in .gitignore 2007-10-30 11:48:50 -07:00
Alan Hourihane
d4d78c8c1a Merge branch 'master' of git+ssh://git.freedesktop.org/git/pixman into yuv-porting 2007-10-24 21:39:34 +01:00
Søren Sandmann Pedersen
b39ca42fce Bump version number 2007-10-24 15:48:45 -04:00
Alan Hourihane
85bccce4d8 Merge branch 'master' of git+ssh://git.freedesktop.org/git/pixman into yuv-porting
Conflicts:

	pixman/pixman-compose.c
	pixman/pixman.h
2007-10-18 17:33:43 +01:00
Søren Sandmann
28532430ef Only compile with -msse on x86-64. 2007-10-17 20:01:27 -04:00
Søren Sandmann
ab6743b170 Make stride signed in various places. This should fix some the
crashers that people have reported in bug 12398.
2007-10-17 19:20:55 -04:00
Søren Sandmann
aca8b610d9 Remove comma from enumerator list. Bug 12621, reported by Matt Kraai. 2007-10-17 18:43:13 -04:00
Søren Sandmann
089c3e6ad0 Add README file based on text from Bjorn Lindquist 2007-10-17 18:40:28 -04:00
Alan Hourihane
8aa38d2256 Merge branch 'master' of git+ssh://git.freedesktop.org/git/pixman into yuv-porting
Conflicts:

	pixman/pixman-image.c
2007-10-17 19:39:41 +01:00
Julien Cristau
6f65ce9886 Fix 64-bit arithmetic bug in fbFetchTransformed.
Add patch by Francis Whittle from upstream bug#12398
(https://bugs.freedesktop.org/attachment.cgi?id=11896) to fix arithmetic
bug in fbFetchTransformed (causing X crashes on 64bit); closes: #444457.
2007-10-16 10:03:53 +02:00
Luca Barbato
808e4f541b Merge branch 'master' of git://anongit.freedesktop.org/pixman 2007-10-01 22:13:05 +00:00
Tilman Sauerbeck
39a67d35f0 Fixed the declaration of pixman_image_set_source_clipping(). 2007-09-29 22:46:19 +02:00
Chris Wilson
7f820e1507 [pixman-image] [mlk] Free the locally allocated bits.
If we fail to allocate the image, remember to free the bits if we have
created the buffer on behalf of the caller.
2007-09-27 13:51:04 +01:00
Chris Wilson
b4f0cc6eea [pixman-image] Avoid a potential malloc(0).
Do not attempt to allocate bits if either the image width or height is
0 - Cairo has a habit of attempting to create such surfaces when
generating glyphs. The malloc(0) may return a NULL pointer and be treated
as an out-of-memory error.
2007-09-27 13:50:55 +01:00
Chris Wilson
958a650b8e [pixman-image] Avoid integer overflow when allocating bits.
Check for potential overflows at every step of the calculation of the
buffer size required for the pixels.

(Fixes https://bugs.freedesktop.org/show_bug.cgi?id=11627)
2007-09-27 13:50:42 +01:00
Jeff Muizelaar
5b60c91fd6 Fix special case selection when the mask has a transform
http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=commitdiff;h=c19ece1d8c32dc81740a4036a642661f54064e75
was a mismerge that avoided setting the maskTransform condition when the mask
has a transform.  This allowed a special case routine to be chosen when the
mask had a transform, which is not expected by the special case routines.
2007-09-20 15:40:17 -04:00
Julien Cristau
69a96426d7 Don't use -msse when building pixman-mmx.c
This prevents gcc 4.2 from generating SSE instructions for its builtin
functions, the X server from going SIGILL on CPUs supporting MMX but not SSE,
and us from losing (closes: #442829).

Also enable maintainer mode in configure.ac so we can carry the patch to
configure directly in the diff.gz without running autoreconf at build time.
2007-09-19 23:25:11 +02:00
José Fonseca
cea752bdb8 Prevent promotion to unsigned when calculating strides. 2007-09-17 18:49:40 +01:00
José Fonseca
1092cdd09f Use a consistent type for stride and more importantly, use always a signed type. 2007-09-17 17:08:31 +01:00
José Fonseca
be4990f4a0 Remove the macro magic from READ/WRITE macros. 2007-09-14 15:48:18 +01:00
José Fonseca
14f2a4c222 Remove the MMX code path for YV12 for the meanwhile, as pixel output is not
exactly the same as the non-MMX code.

This reverts commit c61d6ae39e.
2007-09-14 10:53:32 +01:00
Carl Worth
3be35594c9 Fix build breakage when under the influence of USE_MMX
This was recently broken (dc7c047d1c) when
removing an assignment to noinst_LTLIBRARIES.
2007-09-11 16:29:06 +01:00
Vladimir Vukicevic
dc7c047d1c [memlk] don't try to allocate new data for 0-rectangle regions 2007-09-10 15:20:44 -07:00
José Fonseca
c61d6ae39e MMX code path for YV12 copy, taken from the xserver glucose-2 branch. 2007-09-07 10:52:01 +01:00
José Fonseca
562fa00e40 YUV formats fetch support. 2007-09-07 10:49:21 +01:00
José Fonseca
469dd84cf8 New test for image fetching. 2007-09-07 10:47:15 +01:00
José Fonseca
ba5fc60317 Perform stride calculations inside the callback functions. 2007-09-07 10:46:34 +01:00
Vladimir Vukicevic
1b098ede19 [win32] Makefile and compilation fixes for win32 2007-09-06 11:51:55 -07:00
Vladimir Vukicevic
5fc4d5ab1f compilation: build edge/compose with accessors separately
Simplify the build by creating a new file for pixman-compose and
pixman-edge built with accessor functions.
2007-09-06 11:51:54 -07:00
Julien Cristau
e06f22ff64 Prepare changelog for upload. 2007-09-05 21:44:26 +02:00
Julien Cristau
d32f69172a Add watch file. 2007-09-05 21:33:49 +02:00
Julien Cristau
caf7c7e068 Update changelog for new upstream. 2007-09-05 21:33:24 +02:00
Carl Worth
6b96b62ca4 Don't copy unused bits to an alpha channel
This bug was identified by cairo's rgb24-ignore-alpha test which
blends RGB24 over ARGB32 and notices that "alpha" values are
making it from the source to the destination.
2007-09-04 17:24:04 -07:00
Julien Cristau
a9e5ede18d Update changelog and bump shlibs. 2007-09-03 17:11:42 +02:00
Julien Cristau
1c223ec3e7 autoreconf. 2007-09-03 17:01:04 +02:00
Julien Cristau
1bd9549ca7 Merge branch 'master' of git.freedesktop.org:/git/pixman into debian-experimental 2007-09-03 16:59:13 +02:00
Vladimir Vukicevic
8ff7213f39 rasterize traps that extend outside of the image bounds correctly
Traps that extend outside of the image bounds are rasterized incorrectly
currently; the problem is a signed vs. unsigned comparison that got
introduced when a width parameter went from int -> uint.  This patch
puts it back to int (since it's stored as an int in the bits structure
to begin with), and also fixes a similar warning in the memset wrapper
2007-08-25 23:31:07 -07:00
Søren Sandmann
028993aacb Set accessors for the destination image in composite-test.c 2007-08-24 16:49:29 -04:00
Søren Sandmann
341be6a408 Add missing comma in enum 2007-08-24 16:30:10 -04:00
Søren Sandmann
fb667257ab Remove trailing comma in enum 2007-08-24 16:19:31 -04:00
Søren Sandmann
c7dad7b9a0 Add conjoint and disjoint operators to pixman.h 2007-08-24 16:18:14 -04:00
Søren Sandmann Pedersen
245a5e04eb Merge branch 'master' of ssh+git://sandmann@git.freedesktop.org/git/pixman 2007-08-21 16:31:45 -04:00
Søren Sandmann Pedersen
25846ed93a Fix bug 12039, based on Chris Wilson's patch. 2007-08-21 14:11:54 -04:00
Eric Anholt
9c09561a91 Fix failure to set identity transform in pixman.
While here, optimize out a free/malloc in the case where a transform
existed previously and the new transform is non-identity.
2007-08-20 13:02:54 -07:00
Søren Sandmann Pedersen
3e74bc4319 Add pixman_image_set_source_clipping() 2007-08-17 18:01:09 -04:00