[cairo-commit] cairo ChangeLog,1.197,1.198 NEWS,1.9,1.10

David Reveman commit at pdx.freedesktop.org
Mon May 24 02:28:07 PDT 2004


Committed by: davidr

Update of /cvs/cairo/cairo
In directory pdx:/tmp/cvs-serv4356

Modified Files:
	ChangeLog NEWS 
Log Message:
Added glyph caching

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo/ChangeLog,v
retrieving revision 1.197
retrieving revision 1.198
diff -C2 -d -r1.197 -r1.198
*** a/ChangeLog	20 May 2004 23:42:56 -0000	1.197
--- b/ChangeLog	24 May 2004 09:28:05 -0000	1.198
***************
*** 1,2 ****
--- 1,55 ----
+ 2004-05-24  David Reveman  <c99drn at cs.umu.se>
+ 
+ 	* src/cairoint.h: Added cairo_glyph_size_t, cairo_glyph_surface_t,
+ 	cairo_glyph_surface_node_t and cairo_glyph_cache_t.
+ 	Added font backend functions text_bbox, glyph_bbox and create_glyph.
+ 	Added source offset parameter to show_text and show_glyphs.
+ 	Added drawable parameter to backend function create_similar.
+ 	cairo_font_t now contains a glyph_cache pointer.
+ 	Added _cairo_font_text_bbox, _cairo_font_glyph_bbox,
+ 	_cairo_font_lookup_glyph and _cairo_surface_create_similar_scratch.
+ 
+ 	* src/cairo_xlib_surface.c (_cairo_xlib_surface_create_similar): 
+ 	(_cairo_xlib_surface_clone_similar): 
+ 	Added drawable parameter to backend function create_similar.
+ 
+ 	* src/cairo_xcb_surface.c (_cairo_xcb_surface_create_similar): 
+ 	(_cairo_xcb_surface_clone_similar): 
+ 	Added drawable parameter to backend function create_similar.
+ 
+ 	* src/cairo_surface.c: Added _cairo_surface_create_similar_scratch.
+ 	Added drawable parameter to backend function create_similar.
+ 
+ 	* src/cairo_ps_surface.c (_cairo_ps_surface_create_similar): 
+ 	Added drawable parameter to backend function create_similar.
+ 
+ 	* src/cairo_png_surface.c (_cairo_png_surface_create_similar): 
+ 	Added drawable parameter to backend function create_similar.
+ 
+ 	* src/cairo_image_surface.c (_cairo_image_surface_create_similar): 
+ 	Added drawable parameter to backend function create_similar.
+ 
+ 	* src/cairo_gstate.c (_cairo_gstate_show_text): Use new text
+ 	bounding box function. Pass pattern source offset to show_text.
+ 	(_cairo_gstate_show_glyphs): Use new text
+ 	bounding box function. Pass pattern source offset to show_glyps.
+ 
+ 	* src/cairo_gl_surface.c (_cairo_gl_surface_create_similar): Added
+ 	drawable parameter to backend function create_similar. Use glitz's
+ 	new create similar interface. Support for read-only surfaces.
+ 	(_cairo_gl_surface_clone_similar): Added drawable parameter to
+ 	backend function create_similar.
+ 
+ 	* src/cairo_ft_font.c: Use new glyph caching system. Added bounding box
+ 	font backend functions.
+ 
+ 	* src/cairo_font.c: Added glyph caching system. Added bounding box
+ 	font backend functions.
+ 	(_cairo_font_init): Create new glyph cache.
+ 	(_cairo_font_copy): Take a reference to other fonts glyph cache.
+ 	(_cairo_font_show_text):
+ 	(_cairo_font_show_glyphs): Handle source offset.
+ 	(cairo_font_destroy): Destroy glyph cache.
+ 
  2004-05-20  Graydon Hoare  <graydon at redhat.com>
  

Index: NEWS
===================================================================
RCS file: /cvs/cairo/cairo/NEWS,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** a/NEWS	11 May 2004 15:19:47 -0000	1.9
--- b/NEWS	24 May 2004 09:28:05 -0000	1.10
***************
*** 1,2 ****
--- 1,8 ----
+ Glyph caching
+ -------------
+ Internal caching of glyphs provides a major improvement to
+ text rendering performance, especially for Xlib and OpenGL
+ backends.
+ 
  Snapshot 0.1.23 (2004-05-11 Carl Worth <cworth at isi.edu>)
  ========================================================





More information about the cairo-commit mailing list