Commit Graph

1147 Commits

Author SHA1 Message Date
Carl Worth
ad773927d8 Add release-publish target and RELEASING instructions 2008-01-22 16:29:05 -08:00
Bertram Felgenhauer
054be10736 eliminate a special case in fbRasterizeEdges{4,8}. 2008-01-22 08:00:05 +01:00
Bertram Felgenhauer
5467807e75 fix cairo's a1-traps-sample test
For 1 bit alpha targets, the left and right boundaries of edges were
not rounded correctly.
2008-01-22 07:57:54 +01:00
Bertram Felgenhauer
1d89bac5a7 fix cairo's a1-image-sample test
Move the sampling point for image surfaces very slightly so that it's in
the upper left quadrant of the pixel.
2008-01-19 15:38:16 +01:00
Alp Toker
45074018c3 Avoid use of C++ keyword xor in header 2008-01-15 16:34:57 -05:00
Vladimir Vukicevic
e0af5922cd Remove trailing ; in SETUP_YV12 macro
Causes compilation problems with MSVC.
2008-01-15 16:51:59 -08:00
Vladimir Vukicevic
9a0639650e Remove last CVS $Id$ tags 2008-01-15 13:33:57 -08:00
Søren Sandmann
df964790e8 Don't use the pixbuf fast paths when the source picture has alpha. Bug
13650, reported by Wu Nian.
2007-12-20 00:23:18 -05:00
Luca Barbato
49240111db Merge branch 'master' of git://anongit.freedesktop.org/pixman 2007-12-16 00:38:16 +01:00
Søren Sandmann
72b46bcf34 Guard MMX get_fast_path() with pixman_have_mmx() 2007-12-07 18:59:54 -05:00
Søren Sandmann
bb056d4e02 Use -fvisibility=hidden by default.
Add a PIXMAN_EXPORT macro that expands to the appropriate GCC magic.
Various formatting fixes.
2007-12-03 13:14:42 -05:00
Søren Sandmann
48d52fadc2 Make the tables static; remove unused flag 2007-12-01 22:50:05 -05:00
Søren Sandmann
0a53c41dbc Set maskRepeat to FALSE when the function is NEED_SOLID_MASK 2007-12-01 21:56:25 -05:00
Søren Sandmann
47d39c002d Conditionalize MMX code with USE_MMX 2007-12-01 20:55:56 -05:00
Søren Sandmann
14d628b015 Add some commented-out plain C fast paths. 2007-12-01 20:54:13 -05:00
Søren Sandmann
a916c69cc6 Delete switch of doom. 2007-12-01 20:46:29 -05:00
Søren Sandmann
4dcddfa6e9 Check for correct op. 2007-12-01 20:41:49 -05:00
Søren Sandmann
60134ed7ab Add code to locate fast paths. Comment out switch of doom. 2007-12-01 20:35:03 -05:00
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