Commit graph

649 commits

Author SHA1 Message Date
Carl Worth
2fbdcf2082 Update API Shakeup planning chart. 2005-03-09 12:53:01 +00:00
Carl Worth
6d4653fe22 Rename all the cairo_current functions to cairo_get functions instead. Add documentation for all of these functions (and a few others as well).
Add support so that old binarys should still run and old source should still compile, (though we'll rip that out again on the API Shakeup flag day).
2005-03-09 12:35:36 +00:00
Carl Worth
36820ec40a Add -head to CAIRO_VERSION after tagging with SNAPSHOT_0_4_0. 2005-03-08 19:34:04 +00:00
Carl Worth
980eff38e4 Commit workaround to prevent make distcheck from making bogus complaints that gtk-doc is not enabled. 2005-03-08 19:30:19 +00:00
Carl Worth
e586688e6b Look for png images in ${srcdir}/filename as well, so that make distcheck can still find them.
Add romedalen.png to EXTRA_DIST so the tests can pass from the tar file.
Fix typo: cairo-win3 -> cairo-win32.
Add cairo-win32.xml to the list, so it gets generated as well.
Add pointer to new win32 documentation.
2005-03-08 19:25:39 +00:00
Carl Worth
0c67d496a3 Increment CAIRO_VERSION to 0.4.0
Added notes for snapshot 0.4.0
2005-03-08 17:36:24 +00:00
Carl Worth
627338ab4a Fix accidental commit of diff, rather than ref image. 2005-03-08 14:30:14 +00:00
Carl Worth
c05059f62f Update coverage-ref.png due to seemingly harmless, though not entirely understood changes. 2005-03-08 14:25:54 +00:00
Carl Worth
246a07022a Shared function for checking unlink errrors. (cairo_test): Move all error messages to test-specific log files for quieter test output.
Make pixman_rotate an expected failure.
2005-03-08 13:44:14 +00:00
Carl Worth
4dcccab806 Require libpixman >= 0.1.4. 2005-03-08 08:51:48 +00:00
Kristian Høgsberg
74416f2d9a Return CAIRO_STATUS_SUCCESS even if we don't implement masks yet, so we don't set cr->status to CAIRO_INT_STATUS_UNSUPPORTED. 2005-03-07 21:22:42 +00:00
Carl Worth
c4697bc572 Disable the "new" intersection code so that the incorrect fill problems (test/fill_rule) go away. 2005-03-07 14:23:07 +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
32fbb0afae Make configure fail if no font backend is available. Point the user at freetype and fontconfig. 2005-03-07 12:40:29 +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
Owen Taylor
e7607bb379 Comment and clean up the gradient computation. (_cairo_linear_pattern_classify): Determine if a linear gradient is horizontal or vertical. (_cairo_pattern_acquire_surface_for_gradient): Optimize horizontal/vertical gradients with a repeating surface.
Test case for linear gradients at angles and with a rotated pattern matrix.
2005-03-06 12:05:23 +00:00
David Reveman
023d911232 Fix gradient acceleration in glitz backend 2005-03-06 05:16:19 +00:00
Owen Taylor
50b483042d src/cairo_win32_font.c src/cairo_win32_surface.c: Update for recent backend interface changes.
Reenable win32 backend by default.
2005-03-04 10:43:24 +00:00
Carl Worth
f6dcd38c8c Fix accidental reversal of condition in previous patch. 2005-03-04 10:07:22 +00:00
Owen Taylor
66af5f9f36 src/cairoint.h src/cairo_pattern.c src/cairo_glitz_surface.c: Add _cairo_pattern_is_opaque, use it rather than pattern->alpha == 1.0. 2005-03-04 09:41:34 +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
4552898cfb Update xcb backend 2005-03-03 20:16:23 +00:00
David Reveman
f54f78525a Fixed variable assignments in configure.in 2005-03-03 19:09:24 +00:00
David Reveman
378fb57051 Add more mask surface acceleration to glitz backend 2005-03-03 18:55:28 +00:00
David Reveman
01b87c7d99 Add overall alpha acceleration using mask surface 2005-03-03 18:46:49 +00:00
David Reveman
50b5344d7d Pass mask to composite operation as pattern 2005-03-03 18:39:06 +00:00
David Reveman
a97f4cce5e Removed surface backend functions set_matrix, set_filter and set_repeat 2005-03-03 18:20:28 +00:00
David Reveman
36b69fc7f4 Major update to glitz backend 2005-03-03 18:04:51 +00:00
David Reveman
6c91529311 Add pixman_add_trapezoids 2005-03-03 18:02:23 +00:00
David Reveman
019d381b40 Change to cairo_surface_t like structure of of cairo_pattern_t 2005-03-03 17:40:04 +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
2dcb6cd345 Note that cairo_output_stream_t patch has been reviewed. 2005-03-01 15:04:48 +00:00
Carl Worth
06bed80b9e Fix uninitialized value for status, (reported by Manish Singh). 2005-03-01 14:50:57 +00:00
Kristian Høgsberg
85db25b8a1 Fix this function again. Problem with signed/unsigned types reported by Jeff Muizelaar <jrmuizel@nit.ca>. 2005-02-27 11:21:39 +00:00
Kristian Høgsberg
db2eb5d4cb Remove newline in comment which was confusing gtk-doc.
Document these functions.
2005-02-27 11:02:48 +00:00
Carl Worth
cac994f1f8 Note that "user data" and "setters and getters" patches have been reviewed. Remove a few more TODO notes: cleanup cairo_snippets: DONE cairo_surface_finish: Now in API Shakeup snapping code: Decided against this 2005-02-25 14:06:19 +00:00
Carl Worth
f343b0b44a From David Reveman:
Rewrite to use cairo_bool_t for legibility.
2005-02-25 13:31:00 +00:00
Carl Worth
ebec6df7a7 From David Reveman:
Simplify code to eliminate a goto.
2005-02-25 13:03:42 +00:00
Carl Worth
03e7e13cb1 From David Reveman:
Clean up the mess that was the misnamed _cairo_gstate_create_pattern.
2005-02-25 12:58:49 +00:00
Carl Worth
1a043bbf26 Don't put an off-by-one n_stops into cairo_shader_op_t. (_cairo_shader_op_find_color_stops): Put search for two color stops containing a given offset into its own function. Handle the case of before first and after last stop by returning the nearest stop twice. (_cairo_pattern_calc_color_at_pixel): Handle case of no color stops by returning a transparent pixel. 2005-02-25 12:52:47 +00:00
Owen Taylor
8ad3ab22e4 Remove a left-over debug printf. 2005-02-24 15:48:07 +00:00
Carl Worth
aca0708fc8 Fix memory leak when realloc fails due to out-of-memory. 2005-02-24 14:06:03 +00:00