Jeff Muizelaar
81ec183697
Start the xserver/fb -> libpixman merging with a copy optimization.
2005-06-23 19:30:12 +00:00
Keith Packard
ae96f5db6c
Split clipping into separate source and destination operand clips. By default, source operands are not affected by any client clipping. This matches the desired semantics for cairo. When this code is ported back to the X server, that will have to select the clipping option which clip source operands to the client clip.
2005-05-26 13:02:31 +00:00
Carl Worth
b16dafe553
Add -head to CAIRO_VERSION after tagging with SNAPSHOT_0_1_5.
2005-05-18 10:23:48 +00:00
Carl Worth
17c740eb6b
Add notes for snapshot 0.1.5.
...
Increment version to 0.1.5.
2005-05-18 10:13:14 +00:00
Carl Worth
f083b21c76
Clear pointers to NULL after destroying/freeing them.
2005-05-18 09:27:24 +00:00
Carl Worth
55a7bb718f
Declare pixman_fixed16_16_t properly as int32_t rather than just int. Reported by Lance Fetters.
2005-05-18 09:25:54 +00:00
Keith Packard
949daa1bc9
libpixman creates an A8 format object and sometimes forgets to destroy (when the bounds of the trapezoids are empty). Avoids creating the format object in that case.
...
reviewed by: cworth
2005-05-12 20:25:07 +00:00
Owen Taylor
2dd5f40bc0
Set image->pCompositeClip here. (IcComputeCompositeRegion) src/icrect.c (pixman_color_rects): Remove workaround clipping to the clientClip.
2005-04-28 11:16:52 +00:00
Owen Taylor
eabc32a011
Don't use pixman_compositeSrc_8888x8888 when the source is x8r8g8b8 or x8b8g8r8.
2005-04-27 13:02:20 +00:00
Tor Lillqvist
72cc8f96fe
src/pixman.h: add AIX to the test for inttypes.h
2005-03-29 11:45:52 +00:00
Owen Taylor
db616356c1
Set format->depth correctly instead of just using the bpp.
2005-03-11 12:09:00 +00:00
Carl Worth
864496a10a
Increment version to 0.1.4-head post-snapshot.
2005-03-07 13:50:30 +00:00
Carl Worth
dfcd68ecca
Add notes on using -head suffix for PIXMAN_VERSION.
2005-03-07 13:20:52 +00:00
Carl Worth
5804df2bcc
Add notes for snapshot 0.1.4.
...
Increment version to 0.1.4.
2005-03-07 12:16:33 +00:00
Carl Worth
c4443533e8
Intersect bounds of trapezoids with the bounds of the destination surface before creating an intermediate surface.
2005-03-04 07:53:09 +00:00
Carl Worth
b1545db066
Add comment from xserver's mitrap.c.
2005-03-04 07:31:49 +00:00
David Reveman
6c91529311
Add pixman_add_trapezoids
2005-03-03 18:02:23 +00:00
Carl Worth
849a7ca8ef
Port from render/mipict.c.
...
Merge in optimization from render/mitrap.c for op==ADD and solid alpha src.
2005-03-03 14:27:31 +00:00
Carl Worth
e533d2faeb
Add a few more things that might be helpful when moving more files over from xserver.
2005-03-03 13:54:40 +00:00
Carl Worth
f482f2be49
Move definitions of MIN and MAX macros from ictrap.c to icint.h.
2005-03-03 13:52:49 +00:00
Carl Worth
76d89e8257
Remove dead "if (!format)" code which also makes things more in synch with the server's mitrap.c.
2005-03-03 13:47:04 +00:00
Carl Worth
15bb06aaa0
Restore original copyright and license which must have been inadvertently changed.
2005-03-03 13:36:30 +00:00
Carl Worth
b01798ea13
Fix comment to clarify that libpixman regards the xserver repository as its canonical upstream for some files.
2005-03-02 07:44:53 +00:00
Carl Worth
6d50e485fa
Convert file encodings from ISO-8859 to UTF-8.
2005-03-02 07:43:33 +00:00
Carl Worth
272df99aab
Add only-just-better-than-ASCII-art diagram showing all macros used in locating sub-pixel sample rows/columns.
...
Add missing protective parentheses around macro parameter usage.
2005-02-21 13:29:22 +00:00
Carl Worth
6d70b286f5
Move definition of __inline for non-gcc from ic.c to icint.h so it applies to more code in the implementation.
2005-02-21 12:57:27 +00:00
Owen Taylor
991ac7bacc
Add AC_PREREQ(2.54) to help the Debian auto-guess-which-configure-version hack.
2005-02-06 11:51:07 +00:00
Carl Worth
6dce601fd3
Use 32-bits for pixman_bits_t, even on 64-bit platforms. This should fix bug #2335 as well as rendering problems seen on 64-bit platforms.
2005-01-26 09:10:15 +00:00
Carl Worth
fdf1ed1185
Fix typo
2005-01-21 11:18:46 +00:00
Carl Worth
886d457c2f
Fix snapshot URL in description
2005-01-21 11:16:03 +00:00
Carl Worth
4b072cc7d2
Add notes for snapshot 0.1.3.
...
Increment version to 0.1.3
Add reminder to diff pixman.h to look for API changes since the last snapshot.
2005-01-21 11:10:07 +00:00
Carl Worth
c3e41a966c
Add missing files to satisfy make distcheck.
2005-01-21 10:59:33 +00:00
Carl Worth
1c4286c2a8
Update for changed www directory on server.
2005-01-21 10:54:51 +00:00
Carl Worth
fd8974f2ad
Add pixman-xserver-compat.h, (that was supposed to go in a couple of commits ago).
2005-01-21 10:52:55 +00:00
Carl Worth
dfa7b94c9c
Avoid buffer ovverrun when trapezoid's right edge is on a pixel boundary.
2005-01-21 10:38:42 +00:00
Carl Worth
13225d4d3b
Switch to use new fbRasterizeTrapezoid. Gut old IcRasterizeTrapezoid implementation. Remove lots of code, (and all the bugs with it).
...
Replace IcRasterizeTrapezoid with fbRasterizeTrapezoid. Add a couple of missing typedefs.
Minor changes to allow things to compile within libpixman tree, (replace xserver include directives with pixman-xserver-compat.h and sprinkle a few const qualifiers).
Add sources for new point-sampling rasterization.
2005-01-21 10:26:28 +00:00
Carl Worth
c64e2ccd06
Merge in changes from xserver, (mostly just whitespace).
2005-01-21 09:26:44 +00:00
Carl Worth
d894196840
Add pristine files from the X server containing Keith's newer point-sampling implementation of trapezoid rasterization. The plan is to munge these files as little as possible to make them work within libpixman, (so that it will be easier to share patches between libpixman and the X server).
2005-01-18 11:54:23 +00:00
Carl Worth
b0de4a7d09
(IcRasterizeTrapezoid): Fix the above correction so that it doesn't force 0 alpha when the left edge is positioned above but slopes so as to contain some of the pixel.
2005-01-13 18:08:57 +00:00
Carl Worth
46baad20ee
Force alpha to 0 when the left edge is entirely above top. (This is a workaround for some bizarre edge effects in the current algorithm).
2005-01-13 14:53:13 +00:00
Carl Worth
dc0d812f6c
Restore extern tag for variable declarations, (accidentally removed when recently removing extern from function prototypes).
2005-01-07 12:14:40 +00:00
Carl Worth
c90bd12ec7
Do nothing if src image has width or height == 0 to avoid potential divide-by-zero.
2005-01-04 11:55:36 +00:00
Carl Worth
f76d898cf1
Rename __internal_linkage to pixman_private.
...
Track rename to pixman_private and move it to before the function return value to quiet gcc warnings about visibility attribute ignored for non-class type.
2004-12-23 11:10:08 +00:00
Carl Worth
cd21775ef9
Fix to actually call pixman_fill_rect_32bpp in the 32 bpp case. Thanks to TOKUNAGA Hiroyuki <tkng@xem.jp>. (pixman_fill_rect_8bpp, pixman_fill_rect_32bpp): Fix typo in naming: bbp -> bpp.
2004-12-23 11:00:01 +00:00
Alexander Larsson
e291f1d882
Special case solid color rectangle fills.
2004-12-20 06:15:21 +00:00
Carl Worth
0340265ce4
Abort release-publish if there's already a published tar file with the current version. (release-publish): Add code to update the LATEST-package-version file.
2004-10-28 08:48:07 +00:00
Carl Worth
1839d679b1
Put the tag command back which was accidentally removed from the instructions.
2004-10-27 10:53:44 +00:00
Carl Worth
944b1721e1
Suggest "cvs -q update -Ad" as an alternative to checkout.
2004-10-27 09:43:22 +00:00
Carl Worth
ed1ad71417
Update date since 0.1.2 release didn't get pushed out until today.
...
Update release instructions to include new release-publish target.
Add release-check and release-publish targets to simplify the release process.
2004-10-27 09:37:34 +00:00
Carl Worth
19d3fc2399
Switch from two different buggy mod macros to a new MOD macro which should work in C89 or C99.
2004-10-27 07:26:36 +00:00