Carl Worth
e9d42ab9f9
ROADMAP: Add recent API change proposals (cairo_ft_options_t, cairo_xlib_surface_create needs to be screen aware, and cairo_xlib_surface_set_drawable).
2005-07-11 14:03:51 +00:00
Carl Worth
9cddbaf8e6
ROADMAP: Note progress on cairo_meta_surface_t, ARGB text, and group support.
2005-07-11 13:37:43 +00:00
Carl Worth
48e5806f1e
Note that the cairo_content_t work is done.
...
Note that this function is computing an incorrect result.
2005-07-11 13:29:45 +00:00
Jeff Muizelaar
2ff04df852
Begin merging in newer fb code.
...
The code comes from keithp: Initial import of Composite extension along with name change from Apportion. Added some accelerated code to fbpict to make this initial hack a bit faster. "real" extension bits to follow.
2005-07-09 19:00:36 +00:00
Jeff Muizelaar
1d48dc6cdb
More misc merging. Mostly s/pixman_composite/fbComposite/.
2005-07-09 18:13:14 +00:00
Jeff Muizelaar
36a57bcdcb
More misc merging. Mostly stuff like s/uint32_t/CARD32/.
2005-07-09 15:47:43 +00:00
Carl Worth
9a2ba48b29
Give enum tags an underscore prefix to match the style of the struct tags. Add new cairo_content_t and change cairo_surface_create_similar to accept a cairo_content_t rather than a cairo_format_t.
...
Change surface backend create_similar call to accept a cairo_content_t rather than a cairo_format_t.
Fix all calls into create_similar to pass a cairo_content_t rather than a cairo_format_t.
2005-07-08 10:12:28 +00:00
Carl Worth
9fd2f0a25c
Add a missing word.
...
Note that the BadMatch bug has been resolved.
2005-07-07 01:15:21 +00:00
Carl Worth
f766e06d25
Remove CAIRO_STATUS_NO_TARGET_SURFAC and add CAIRO_STATUS_INVALID_STATUS.
...
Don't check for gstate->target == NULL anymore as the API now guarantees it never occurs.
Check that path->status is a valid status value and cause an INVALID_STATUS error otherwise.
Test the new CAIRO_STATUS_INVALID_STATUS error case in cairo_append_path.
2005-07-06 14:52:01 +00:00
Carl Worth
eb12e49308
Require libpixman >= 0.1.5, (since 0.1.4 crashes on some X servers).
2005-07-06 11:23:39 +00:00
Carl Worth
ad0e040fb6
Disable the compilation of the _ps_locate_fallbacks code which, inaddition to being broken, appears to not currently be used.
2005-07-05 22:30:59 +00:00
David Reveman
e314e86cc1
Use frame buffer objects for accelerated offscreen drawing in glitz backend
2005-07-04 03:58:43 +00:00
Kristian Høgsberg
7a923e6ddd
Rewrite postscript backend to generate more interesting output than the current big-image implementation, using meta surfaces for font subsetting and image fallbacks.
...
Remove obsolete comment.
Make a couple of stylistic changes and add _cairo_output_stream_write_hex_string.
Add _cairo_surface_intersect_clip_path so we can replay path clipping.
2005-07-01 12:45:35 +00:00
Kristian Høgsberg
7ab5dbfa75
Add meta surface implementation.
...
Add cairo-meta-surface.c and cairo-meta-surface-private.h
2005-07-01 12:22:23 +00:00
Carl Worth
4e01c4aa2f
Remove debugging printfs.
2005-06-29 17:05:31 +00:00
Carl Worth
aad6dce6bc
Add _cairo_hash_table_random_entry.
...
Fix to update live_entries.
style changes.
Add code to shrink table as well as to grow it.
Call new version of resize so that table will grow or shrink as needed on insert and remove.
2005-06-29 17:02:37 +00:00
Carl Worth
e7ffbb4179
Rewrite hash table to use a single cairo_hash_entry_t* rather than void *key and void *value. This is slightly more painful to use, but lends itself to a more memory-efficient implementation. Add documentation.
2005-06-29 15:02:10 +00:00
Carl Worth
82f244eca8
Rework the cache code as a hast table with a much simpler interface, (no object derviation is required to use it).
...
Remove extraneous prototype for non-existent _cairo_cache_reference.
2005-06-29 07:04:34 +00:00
Kristian Høgsberg
5ab8a3085e
New functions to create a cairo_pattern_t corresponding to a solid color and a translucent color respectively. Document a few pattern functions.
2005-06-28 15:58:42 +00:00
Tor Lillqvist
e7442a4523
Implement.
...
reviewed by: otaylor
2005-06-28 15:03:53 +00:00
Owen Taylor
6d65ee6fc4
Also flag older XFree86 servers as buggy-repeat.
2005-06-28 13:28:53 +00:00
Tor Lillqvist
e0982300ca
Prevent crash on empty string.
2005-06-28 11:52:42 +00:00
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