Commit graph

33 commits

Author SHA1 Message Date
Torsten Schoenfeld
e747bbd350 Fix build after recent pixman.h change.
The recent pixman.h change to use configure-generated defines
accidentally broke the build.  Pulling in config.h fixes it.
2006-06-25 15:25:23 +02:00
Carl Worth
e32138aa93 Prefer using configure-generated variable for finding stdint.h or similar.
We were doing something more complicated originally, and that was because
pixman.h was an installed public header file at one time. But that hasn't
been the case for quite a long time.
2006-06-25 14:42:27 +02:00
Carl Worth
c6164d0d2a New API: Add support for new CAIRO_FORMAT_RGB16_565 2006-06-16 08:46:34 -07:00
Zakharov Mikhail
32c0e85d45 pixman: fix compilation on HP-UX 11.11 2006-06-07 09:42:48 -07:00
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
Laxmi Harikumar
baa3436e9d Simple fix for build failure on DEC/OSF1.
Apparently this platform also requires inttypes.h rather than
stdint.h.

This should fix the bug reported here:

        https://bugzilla.mozilla.org/show_bug.cgi?id=331428
2006-04-10 12:04:01 -07:00
Carl Worth
d6f8df7417 Remove annoyinc RCS magic lines that are not being used, but cause conflicts. 2006-03-15 10:47:09 -08: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
Carl Worth
0b9c0efc3a Put win32 mutex locking on the 1.2.0 roadmap.
Portability improvements for win32 thanks to Hans Breuer <hans@breuer.org>:
Defined sized-integer types when under the influence of _MSC_VER and without stdint.h.
Use #error which is more portable than #warning, (and more indicative of where we want to be before the next release).
2005-09-07 16:57:59 +00:00
Carl Worth
0fc4192104 From Keith Packard <keithp@keithp.com>,
Build pixman internally as a private part of cairo, with suitable name changes to avoid any visible pixman symbols in the cairo library:
Descend into pixman.
Drop libpixman from Requires.
Don't check for libpixman. Check version of pkg-config and use Requires.private instead of Requires in cairo.pc if possible. Generate pixman Makefiles.
Rip out release-publish target and installation of libpixman.pc.
Add pixman-remap.h. Drop libpixman.la target.
Fix to include config.h rather than ../config.h
This is the cpp magic to rename all pixman functions from the various fb, Fb, INT_pixman, pixman, Render, _Render, or no prefix to _cairo_pixman_ prefixes.
Include pixman-remap.h to get all the cairo-internalized names.
Add -Ipixman/src to get at pixman-remap.h.
2005-08-10 12:36:51 +00:00
Jeff Muizelaar
43e3e7eeff s/IC_/FB_/g
dd #define FB_BITS IC_BITS so that FB_BITS get defined early enough
2005-06-24 18:21:15 +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
Tor Lillqvist
72cc8f96fe src/pixman.h: add AIX to the test for inttypes.h 2005-03-29 11:45:52 +00:00
David Reveman
6c91529311 Add pixman_add_trapezoids 2005-03-03 18:02:23 +00:00
Carl Worth
6d50e485fa Convert file encodings from ISO-8859 to UTF-8. 2005-03-02 07:43:33 +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
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
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
Richard Worth
077fcb36da Add '-no-undefined' to end of libpixman_la_LDFLAGS tp enable building shared libary under cygwin.
Remove all 'extern ' and ' __external_linkage' (macro for __declspec(dllexport) and __declspec(dllimport)) from function declarations. These are no longer needed for cygwin.
2004-01-22 21:05:08 +00:00
Carl Worth
22792e2e7a Remove trailing commas from enum, (some compilers like to complain about this). 2003-12-17 13:17:13 +00:00
Carl Worth
0278468fc1 Fold contents of slim_export/import.h directly into this file to avoid dependence on external slim package.
Use quote-based include now that slim_internal is an internal file.
Follow convention of other files for multi-inclusion guard (_IC_INT_H_)
Remove cruft.
2003-12-12 10:47:59 +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
Dave Beckett
08e0943c9f Merged pixregion.h (former name and CVS history of this file) and ic.h (now CVS deleted here). 2003-12-09 16:08:16 +00:00
Carl Worth
1ec2cb30f5 Removed false dependency on X. 2003-07-30 10:36:50 +00:00
Richard Henderson
b9be119a3f Run PKG_CHECK_MODULES on slim.
Require slim.
Mark hidden. (PixRegionCopy, PixRegionUnion): Mark hidden.
Include and use X11/Xfuncproto.h. Include slim_{export,import}.h as appropriate. Mark all functions with __external_linkage.
Rename include protect to _PIXREGIONINT_H_.
2003-07-30 10:06:34 +00:00
Carl Worth
140285ed9b Fixed libtool versioning 2003-04-25 13:21:42 +00:00
Carl Worth
3eaa7a73e7 API cleanup 2003-02-25 10:28:05 +00:00
Carl Worth
a837f75a8b Initial import of libpixregion 2003-02-25 08:05:26 +00:00