Commit Graph

2788 Commits

Author SHA1 Message Date
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
Carl Worth
c7bec58988 Fix typo AC_MAJOR -> PIXMAN_MAJOR
This typo was causing build failures for some. Thanks to David Sharp for
pointing out the problem.
2007-08-15 10:16:11 -07:00
Aaron Plattner
d9b989c890 Remove redundant defines. 2007-08-14 16:16:27 -07:00
Arcady Goldmints-Orlov
7bdb9840eb One more minor wrapping fix
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2007-08-14 16:14:47 -07:00
Arcady Goldmints-Orlov
166b782956 Remove unnecessary wrapping from fbFetch/fbStore.
These functions fetch from a picture to a scanline buffer, or store
from a scanline buffer to a picture. Since pixman allocates its own
scanline buffer, we don't need to wrap accesses to it.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
2007-08-14 16:14:47 -07:00
Aaron Plattner
7b1d0c091d Don't skip fbFetch/fbStore when PIXMAN_FB_ACCESSORS is enabled.
pixman_composite_rect_general_accessors skips the fetch / store steps by setting
store to NULL when the op is ADD or OVER and the dest format is [ax]8r8g8b8.
This optimization is only valid when no accessors are in play.
2007-08-13 17:26:51 -07:00
David Nusinow
9ac13232d1 Bump package version down to released version
Also note that we have the .pc fix in our version
2007-08-09 22:17:15 -04:00
David Nusinow
bcad7ed4ee Prepare changelog for upload 2007-08-09 21:50:14 -04:00
David Nusinow
e17ef56ff5 Add myself to uploaders 2007-08-09 21:40:15 -04:00
David Nusinow
707150a5f0 libpixman0 -> libpixman-1-0 (ick) 2007-08-09 21:39:34 -04:00
David Nusinow
93c6db8051 Document packaging changes in debian changelog 2007-08-09 21:33:58 -04:00
David Nusinow
ccac993cf0 Revert change from libpixman1 to libpixman0 again 2007-08-09 21:32:53 -04:00
David Nusinow
51e117513c Update packaging 2007-08-09 21:26:22 -04:00
David Nusinow
ad35083b3f Autoreconf 2007-08-09 21:17:50 -04:00
David Nusinow
4087751d66 Bump changelog for new version 2007-08-09 21:16:30 -04:00
David Nusinow
2317a10e24 Merge branch 'upstream-experimental' into debian-experimental 2007-08-09 21:14:52 -04:00
Eric Anholt
43370d1ce7 Update .pc file for library version name change. 2007-08-06 20:06:48 -07:00
Aaron Plattner
778a3f9d71 Return a bool from pixman_image_unref.
Returns TRUE when the refcount reaches 0 and the image is freed.
2007-08-06 14:53:57 -07:00
Søren Sandmann Pedersen
4838e2e9d9 Bump version number; fix typo in configure.ac 2007-08-06 17:28:06 -04:00
Søren Sandmann Pedersen
7b3c9cef49 Change the library name to pixman-1
Set the soname to something based on the library version.
2007-08-06 17:24:44 -04:00
Vladimir Vukicevic
19c46bf18b Fix OpenSolaris compilation 2007-08-03 15:24:03 -07:00
Julien Cristau
d7d7ea4a77 Prepare changelog for upload. 2007-08-01 13:58:50 +02:00
Julien Cristau
ed1b78d2f7 autoreconf for new snapshot. 2007-08-01 12:56:59 +02:00
Julien Cristau
c930fa97a3 Merge branch 'master' of git://anongit.freedesktop.org/git/pixman into debian-experimental 2007-07-28 17:57:46 +02:00
Alan Coopersmith
0c80a0cd84 Build fixes for Solaris. 2007-07-16 15:06:23 -04:00
Jinghua Luo
0f392d8174 Fix bug in rasterizeEdges() where the stride should be signed. 2007-07-10 14:47:28 +08:00
Søren Sandmann
bbef73192e Port Vlad's fixes for integer overflows with malloc(). 2007-07-02 12:18:42 -04:00
root
33d4028e3f First import of vmx 2007-07-01 11:42:49 +00:00
Søren Sandmann
2e61f30e4c Revert "Add a cache of images to reduce malloc/free time"
Revert the image cache since it isn't thread safe.

This reverts commit deb09d769a.
2007-06-22 13:37:46 -04:00
Søren Sandmann Pedersen
64e3146c5d Don't treat void as a value. Bug 11322, Alan Coopersmith. 2007-06-22 00:58:05 -04:00
Vladimir Vukicevic
8216ba1cbd Add pixman_region_init_rects() 2007-06-20 15:13:30 -04:00
Søren Sandmann Pedersen
f1194a8bc0 Fix typo 2007-06-20 12:12:43 -04:00
Alex Larsson
3dbb2a56bd Add non-mmx fast paths for In_8x8 and In_nx8x8. Bug 4191, patch by
Alex Larsson.
2007-06-20 12:01:12 -04:00
Søren Sandmann Pedersen
658acaad4e Add fbCompositeSrc_8888xx888(); comment out
fbCompositeOver_x888x8x8888{mmx} since they are not actually faster
than the generic code.
2007-06-20 11:36:22 -04:00
Søren Sandmann Pedersen
440ed1da1c Optimize pixman_fill_rectangles() in a few more cases 2007-06-19 14:41:04 -04:00
Søren Sandmann Pedersen
deb09d769a Add a cache of images to reduce malloc/free time 2007-06-19 12:41:21 -04:00
Søren Sandmann Pedersen
6cb74dfe3d Also store the g3 part correctly 2007-06-19 11:23:05 -04:00
Søren Sandmann Pedersen
07e73371ef Fix fbStore_b2g3r3(). Pointed out by Dan Amelang 2007-06-19 11:19:43 -04:00
Søren Sandmann Pedersen
d7f426806d Smplify the 1x1r optimization for the general compositing and fix the
1xn and nx1 cases.
2007-06-19 10:46:36 -04:00
Søren Sandmann Pedersen
9ebec1f7db Fix pixman_fill() to return TRUE when it succeeded 2007-06-19 10:40:58 -04:00
Søren Sandmann Pedersen
15b5960bcb Add in 0xff alpha channel in Over_x888x8x8888mmx 2007-06-19 00:57:33 -04:00
Søren Sandmann Pedersen
e73e000d5b Fix solid fill optimization to compute the src correctly 2007-06-19 00:35:58 -04:00