Commit graph

1395 commits

Author SHA1 Message Date
Owen Taylor
f3b7d3dfd8 Fix stray commit marker 2005-06-28 05:02:27 +00:00
Keith Packard
3b0c3d0ee8 Provide locking macros, implement with pthreads.
Add _cairo_cache_shrink_to which reduces cache memory usage to a specified level.
Change global glyph and xlib glyphset caches behaviour to only shrink cache on unlock. This is done by telling the cache code to never shrink (max_memory == 0), and then manually shrinking using _cairo_cache_shrink_to from the unlock function.
Fix Carl's variable renaming mixing (cache = cache).
reviewed by: cworth
2005-06-25 23:24:19 +00:00
Jeff Muizelaar
574f7f560b Merge over most of the low-hanging renames from xserver/fb. 2005-06-25 15:03:17 +00:00
Jeff Muizelaar
be38e07c4e Fix broken build on older gcc's caused by overzealous s/IC_/FB_/g 2005-06-25 14:41:38 +00:00
Owen Taylor
5f0e8de3e5 Add mostly useless (other than perhaps 90-degree rotation) code for transforming bitmap glyphs. 2005-06-25 13:51:22 +00:00
Carl Worth
13a27d19d4 From: J. Ali Harlow" <ali@avrc.city.ac.uk> Reviewed by: Vladimir Vukicevic <vladimirv@gmail.com>
Update win32 backend to match current API, so it actually builds once again.
2005-06-25 02:00:17 +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
42fc090745 selective s/Ic/fb/g.
I took out the list of functions because it was ridiculously long.
2005-06-24 18:28:19 +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
d469cc18eb Remove stray character. 2005-06-24 15:14:31 +00:00
Carl Worth
05e2ffa00a Prefer descriptive variable names over single-character names. Remove unneeded XGlpyhInfo field from glyphset_cache_entry_t. 2005-06-24 15:09:41 +00:00
Owen Taylor
87008a44d3 Handle rendering bitmap glyphslots as well as outline glyphslots.
When setting the scale for a non-scalable font, use the nearest available size (FreeType won't set the glyph metrics otherwise.)
2005-06-24 15:06:40 +00:00
Jeff Muizelaar
81fa936fd2 s/IcCombine/fbCombine/ 2005-06-23 19:41:07 +00:00
Jeff Muizelaar
e77d9776ae s/pixman_compositeOperand/FbCompositeOperand/g. 2005-06-23 19:39:12 +00:00
Jeff Muizelaar
373e7f68b1 s/pixman_bits_t/FbBits/s 2005-06-23 19:35:45 +00:00
Jeff Muizelaar
aa07c01cb5 more merging:
630. Fix incorrect datatype for the pixmap width in fbCompositeSrcAdd_8000x8000(), and add some small optimisations (#A.1423, Keith Packard).
2005-06-23 19:33:34 +00:00
Jeff Muizelaar
81ec183697 Start the xserver/fb -> libpixman merging with a copy optimization. 2005-06-23 19:30:12 +00:00
Carl Worth
adeff84bc2 Add ARGB text to 1.0 roadmap. 2005-06-23 15:52:37 +00:00
Owen Taylor
609ef32bfa Improve last ChangeLog entry a bit 2005-06-23 13:05:07 +00:00
Owen Taylor
ff27263f39 Only unpremultiply ARGB32 data. Call png_write_info() *before* we set up the write conversion... it doesn't work after. 2005-06-23 12:58:49 +00:00
Carl Worth
3b20ab66b8 Add workaround for Render's overlapping source/dest bug to the 0.5.2 roadmap. 2005-06-23 12:45:38 +00:00
Carl Worth
03c7b6aa7a Add link to BadMatch bug. 2005-06-22 22:12:09 +00:00
Carl Worth
b04b434db1 Update ROADMAP with some comments on 0.5.2.
Add documentation for cairo_set_source_surface and fix some typos in other documentation blocks.
2005-06-22 17:09:08 +00:00
Øyvind Kolås
687f3d78d6 minor whitespace and spellfix 2005-06-22 09:49:48 +00:00
Kristian Høgsberg
b1130276d5 Split out font subsetting code from here,
and put it here.
2005-06-21 15:38:51 +00:00
Tor Lillqvist
7283ba6d47 allow building against < 10.3 SDK. 2005-06-21 09:54:58 +00:00
Carl Worth
adee31be18 Add -head to CAIRO_VERSION after tagging with SNAPSHOT_0_5_1. 2005-06-20 17:06:10 +00:00
Carl Worth
86869f02b9 Force distcheck to enable gtk-doc. 2005-06-20 17:01:36 +00:00
Carl Worth
d7ef15d4b4 Added notes for snapshot 0.5.1
Increment CAIRO_VERSION to 0.5.1
2005-06-20 16:35:40 +00:00
Carl Worth
74e3cc672f Fix abbreviated ChangeLog 2005-06-20 16:31:17 +00:00
Owen Taylor
ea2a04d901 Workaround for https://bugs.freedesktop.org/show_bug.cgi?id=3566
Detect servers with a bug in repeating surfaces by checking vendor string and version.
For such surfaces
Save clip rects when setting a clip region on a surface so that we set the right clip for the surface's GC if we create it later.
2005-06-20 15:48:46 +00:00
Carl Worth
1ce9be9541 Make out parameters optional. Style cleanup. 2005-06-20 12:54:15 +00:00
Carl Worth
ab668278b0 Abstract CAIRO_ALPHA_IS_OPAQUE out for general internal use.
Optimize to defer to cairo_paint if the alpha value is actually opaque.
2005-06-20 11:09:51 +00:00
Carl Worth
f15ec64e7f Rip out cairo_set_error_notfiy function as it is clear that it is not the right approach.
Remove error-notify test.
2005-06-20 09:59:23 +00:00
Carl Worth
3b8da5f213 Remove references to repeat and matrix fields that no longer exist. 2005-06-17 23:22:20 +00:00
Owen Taylor
92222f8bca Fix width/height typo. 2005-06-17 16:19:08 +00:00
Kristian Høgsberg
66f8b1202e Remove matrix, filter and repeat from the cairo_surface_t struct. 2005-06-17 13:25:19 +00:00
Carl Worth
9318742aa4 cairo_reference and cairo_destroy shouldn't behave differently when cr->status indicates an error. Fix this bug that just slipped back in.
Remove useless conditional return at the end of a void function.
Fix so that after calling _cairo_error the most that any cairo entry function ever does is return a previously computed value.
2005-06-17 11:24:24 +00:00
Kristian Høgsberg
c71f0904f1 Remove the path clipping entry from the list. 2005-06-17 10:48:47 +00:00
Carl Worth
7c811e0ac6 update documentation build stuff 2005-06-16 12:31:56 +00:00
Carl Worth
d6eca5a45f Reorder fields of cairo_private_t to match initialization order.
Call error_notify callback if set. (cairo_create): Initialize error_notify callback to NULL. (cairo_set_error_notify): New function to allow the user to set an error notify callback.
New cairo_set_error_notify prototye.
New test for cairo_set_error_notify.
2005-06-16 12:20:46 +00:00
Carl Worth
18c2d12b9e Add CAIRO_STATUS_DESTROYED to TODO list.
Note progress on consistent error handling.
Fix typo in documentation comment for _cairo_surface_get_current_clip_serial.
2005-06-15 16:52:11 +00:00
Owen Taylor
615d509767 Remove --only-section-tmpl; it doesn't really work currently :-(. 2005-06-15 16:04:19 +00:00
Owen Taylor
a3906e65aa Use a clip region when rendering a non-solid pattern through a rectangular path ... trapezoid rasterization is just too slow to use that path when we aren't forced to do so. 2005-06-15 12:44:52 +00:00
Carl Worth
fac3cd46b3 (cairo_test_for_target): And add missing parenthesis. 2005-06-15 10:58:52 +00:00
Carl Worth
0b122003e7 Track removal of cairo_status_string. 2005-06-15 10:56:31 +00:00
Carl Worth
ac17f1ce68 Add cairo_finish to TODO list. Note that cairo_satus_string has now been removed. 2005-06-15 10:54:00 +00:00
Carl Worth
4834b8e7f0 Remove cairo_status_string function which can now be replaced by:
cairo_status_to_string (cairo_status (cr));
This allows consistent handling of status values for things like cairo_pattern_status where there is now cairo_pattern_status_string function.
2005-06-15 10:52:01 +00:00
Carl Worth
e3c92f2613 Add _cairo_error so we have a single function which all errors can pass through. This allows the user to set a breakpoint on error and will allow us to augment error handling later as necessary.
Make all assignements to cr->status go through the new _cairo_error function. Remove CAIRO_CHECK_SANITY macro.
2005-06-15 10:46:49 +00:00
Carl Worth
e749cf524c Remove cairo-atsui section since cairo-atsui.h is currently empty. Add cairo_path_data_type_t and cairo_path_data_t.
Add pdf-clip and pdf-clip.pdf.
2005-06-15 10:41:41 +00:00