[cairo-commit] cairo/src cairo.c,1.129,1.130

Carl Worth commit at pdx.freedesktop.org
Tue Aug 23 00:03:12 PDT 2005


Committed by: cworth

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv14419/src

Modified Files:
	cairo.c 
Log Message:

2005-08-22  Carl Worth  <cworth at cworth.org>

        * src/cairo.c (cairo_create): Remove discussion of the BAD_NESTING
        restriction from the documentation of cairo_create. No such
        restriction exists anymore.


Index: cairo.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo.c,v
retrieving revision 1.129
retrieving revision 1.130
diff -u -d -r1.129 -r1.130
--- cairo.c	22 Aug 2005 04:04:52 -0000	1.129
+++ cairo.c	23 Aug 2005 07:03:10 -0000	1.130
@@ -169,16 +169,6 @@
  * This function references @target, so you can immediately
  * call cairo_surface_destroy() on it if you don't need to
  * maintain a separate reference to it.
- *
- * Note that there are restrictions on using the same surface in
- * multiple contexts at the same time. If, after creating @cr_a with
- * @surface you also create @cr_b with the same surface, you must
- * ensure that @cr_b has finished using @surface before resuming use
- * of @cr_a. Currently, the only way time at which this is guaranteed
- * is when the the last reference to @cr_b is released with
- * cairo_destroy(). (XXX: We need to add a cairo_finish() call to
- * provide a way to achieve this explicitly). See also the
- * %CAIRO_STATUS_BAD_NESTING status.
  * 
  * Return value: a newly allocated #cairo_t with a reference
  *  count of 1. The initial reference count should be released



More information about the cairo-commit mailing list