[cairo-bugs] [Bug 103614] painting an xlib surface with source set to another surface created with cairo_image_surface_create_from_png fails if xlib surface is set to the exact size of the png image.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Nov 10 17:09:50 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103614

Uli Schlachter <psychon at znc.in> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Uli Schlachter <psychon at znc.in> ---
For the bug you are reporting (bug #3): Call cairo_surface_flush(sfc) after
your call to cairo_paint(ctx). The docs say this "[does] any pending drawing
for the surface". 

Bug #2: Why is that a bug? You also get other events even when they are not in
your event mask (e.g. MappingNotify). Cairo needs this extra event to avoid
some possible unbounded memory usage problems which have to do with shared
memory (basically, these events tell cairo that the X11 server is done
accessing the shared memory).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cairographics.org/archives/cairo-bugs/attachments/20171110/4ddc5766/attachment.html>


More information about the cairo-bugs mailing list