Commit graph

42 commits

Author SHA1 Message Date
Carl Worth
ef10a0403a Remove initial, final, and duplicate blank lines.
This patch was produced by running git-stripspace on all *.[ch] files
within cairo. Note that this script would have also created all the changes
from the previous commits to remove trailing whitespace.
2006-06-06 15:50:33 -07:00
Carl Worth
5278de0997 Remove all remaining trailing whitespace.
This patch was produced with the following (GNU) sed script:

	sed -i -r -e 's/[ \t]+$//'

run on all *.[ch] files within cairo.

Note that the above script would have also created all the changes
from the previous commits to remove trailing whitespace.
2006-06-06 15:41:31 -07:00
Carl Worth
00592e0757 Remove trailing whitespace from lines with a single brace.
This patch was produced with the following (GNU) sed script:

	sed -i -r -e '/^[ \t]*[{}][ \t]*/ s/[ \t]+$//'

run on all *.[ch] files within cairo.
2006-06-06 15:38:58 -07:00
Carl Worth
4670366ede Remove trailing whitespace from lines that look like comments.
This patch was produced with the following (GNU) sed script:

	sed -i -r -e '/^[ \t]*\/?\*/ s/[ \t]+$//'

run on all *.[ch] files within cairo, (though I manually excluded
src/cairo-atsui-font.c which has a code line that appears as a comment
to this script).
2006-06-06 15:35:48 -07:00
Carl Worth
80b8deb1e4 Remove extraneous whitespace from "blank" lines.
This patch was produced with the following (GNU) sed script:

	sed -i -r -e 's/^[ \t]+$//'

run on all *.[ch] files within cairo.
2006-06-06 15:25:49 -07:00
Carl Worth
621ebc4726 pixman: Remove unused code to quiet compiler warnings 2006-05-15 10:16:06 -07:00
Anders Carlsson
ff5207ed11 Use uint32_t instead of uint; 2006-01-09 10:29:22 +00:00
Carl Worth
19441311e4 2005-10-10 David Reveman <davidr@novell.com>
Some major performance improvements to the general composite code used for gradients and transformed images. Like fetching of mask scanline before source scanline so that only the necessary pixels from source needs to be computed in case of gradients or transformed images as source. This patch also include some gradient specific fixes and performance improvement.
2006-01-04 16:39:23 +00:00
Carl Worth
305a83721f Originally: 2005-10-10 David Reveman <davidr@novell.com>
Add entries for gradient support.
Add PictureGradientColor.
Add necessary functionality for gradient support.
Enable gradient support.
2006-01-04 16:26:10 +00:00
Billy Biggs
32eb6ce206 Add extended repeat modes, copied from XRender.
Cleanup to use the new repeat modes.
Be explicit about which repeat mode we want.
reviewed by: davidr, cworth, otaylor
2005-10-09 09:09:53 +00:00
Billy Biggs
a83537fe02 Some fixes for warnings from sparse (Part of bug #4208, Kjartan Maraas)
Use NULL not 0.
2005-08-27 19:32:57 +00:00
Carl Worth
171b053347 Whitespace fix. (pixman_image_destroy): Fix leak of the clip region associated with an image. (NOTE: xserver/render doesn't have the same bug since it has FreePicture that calls into both DestroyPicture and DestroyPictureClip separately). 2005-07-14 11:41:00 +00:00
Jeff Muizelaar
64d5b34a98 s/Ic/Fb/g This gets read of most of the [Ii][cC]'s the rest will probably dealt with on a case by case basis.
trimmed function list again.
2005-06-24 20:13:19 +00:00
Jeff Muizelaar
373e7f68b1 s/pixman_bits_t/FbBits/s 2005-06-23 19:35:45 +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
f083b21c76 Clear pointers to NULL after destroying/freeing them. 2005-05-18 09:27:24 +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
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
6d50e485fa Convert file encodings from ISO-8859 to UTF-8. 2005-03-02 07:43:33 +00:00
David Reveman
3a1931baba Added pixman_format_get_masks and fixed a few format issues 2004-09-12 06:06:50 +00:00
David Reveman
d0e30df8cb Added function for setting component alpha 2004-09-11 19:55:24 +00:00
David Reveman
1ba0de94fb Fixed clipping 2004-09-11 19:42:40 +00:00
Carl Worth
9faef192af Leave clientClipType as CT_NONE if region is NULL (thanks to Vladimir Vukicevic <vladimir@pobox.com>). 2004-05-06 05:50:23 +00:00
Carl Worth
821a9f2f6c Fix bogus names such as PIXMAN_FORMAT_NAME_AR_GB32 that were left over from a broken search-and-replace. Normalize structure defintions, (eg. struct _pixman_region16_t -> struct pixman_region16). Normalize indentation.
Fix alphabetization.
2004-04-16 08:32:53 +00:00
Dave Beckett
af1ab1a9f2 Correct some more renames where the order of the renaming caused later renames to fail due to earlier prefixes failing. 2003-12-10 15:39:45 +00:00
Dave Beckett
4ecffdf8b9 Correct over-eager renames of the form pixman_thing_tName into pixman_thing_name. It was inevitable really this would happen! 2003-12-10 15:23:11 +00:00
Dave Beckett
94988dbe09 Rename exported Ic* and PixRegion* functions, types, enums to be prefixed pixman (or PIXMAN for enum values) 2003-12-10 14:20:05 +00:00
Carl Worth
0819fbb164 Add IcImageGetDepth. Bump version to 0.1.3 2003-11-01 05:23:55 +00:00
Carl Worth
22c167e00f Fix memory leak of image->transform. Remove currently unused DevUnion type and IcImageChange function. 2003-10-29 10:54:26 +00:00
Carl Worth
ece5507937 Patch from Bryan Worth <bryan@theworths.org> to eliminate lots of leftover, undesired dependencies on X header files. 2003-10-29 10:45:02 +00:00
Carl Worth
1abf6689e1 Updated calls to slim_hidden_def to track cahnges in slim 0.2.0 2003-09-09 17:35:42 +00:00
Carl Worth
4551d78c8f Expose functions for creating IcFormat based on IcFormatName or masks. The actual IcFormat struct is no longer exposed. Bump version number to 0.1.1 2003-09-05 15:24:45 +00:00
Richard Henderson
2d51c71a79 Check for slim revision.
Depend on slim.
Don't include icimage.h.
Don't include ic.h.
Include slim_{export,import}.h as appropriate. Mark all symbols __external_linkage.
Include slim_import.h; mark symbols __internal_linkage; add slim hidden_proto declarations.
Mark all symbols __internal_linkage.
Likewise.
Provide hidden definition.
Likewise.
Likewise.
Likewise.
Likewise.
Make static.
2003-07-31 10:00:08 +00:00
Anders Carlsson
eefc5d5ec7 Add accessor for getting a pointer to the image data. 2003-07-08 17:06:15 +00:00
Anders Carlsson
42529a2c72 Add accessors. 2003-07-08 16:00:55 +00:00
Carl Worth
7e1f3f1798 Fixed transform/filter support 2003-05-14 18:09:09 +00:00
Carl Worth
7b5270441b Fixed memory leak 2003-04-26 09:57:54 +00:00
Carl Worth
b61b9ffc23 Removed reliance on server headers. Reowrked IcFormat 2003-04-17 08:48:22 +00:00
Carl Worth
88bd3a9799 updated to use libpixregion instead of Xlib region code 2003-02-25 10:33:10 +00:00
Carl Worth
8bb4eb1beb Some reorganization and cruft removal 2003-02-21 13:34:50 +00:00
Carl Worth
18edad04ed Started cleaning up public libic interface 2003-02-21 10:07:17 +00:00
Carl Worth
c9bf4bab84 Initial import of libic code, (still very preliminary). 2003-02-21 06:51:08 +00:00