[cairo] [PATCH] Improve handling of contexts with finished surface

Uli Schlachter psychon at znc.in
Mon Aug 12 07:51:11 PDT 2013


Hi everyone,

in response to Bug 68014 "Writing on a finished surface." [0], I came up with
the attached patches.

The first patch enhances the api-special-cases test so that it also tests the
behavior of functions receiving a cairo_t* and the other patches fix various
problems that these new tests uncovered.

I would be happy about comments on these patches.

Cheers,
Uli

[0]: https://bugs.freedesktop.org/show_bug.cgi?id=68014
-- 
"Do you know that books smell like nutmeg or some spice from a foreign land?"
                                                  -- Faber in Fahrenheit 451
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-api-special-cases-Also-test-contexts.patch
Type: text/x-patch
Size: 34071 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130812/0ee62d85/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-surface-Error-out-on-finished-surfaces.patch
Type: text/x-patch
Size: 3503 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130812/0ee62d85/attachment-0005.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-push_group-Refuse-working-with-unusable-surface.patch
Type: text/x-patch
Size: 1386 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130812/0ee62d85/attachment-0006.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-surface_get_extents-Reject-finished-or-error-surface.patch
Type: text/x-patch
Size: 1219 bytes
Desc: not available
URL: <http://lists.cairographics.org/archives/cairo/attachments/20130812/0ee62d85/attachment-0007.bin>


More information about the cairo mailing list