[cairo] How to know if a surface is mapped

Uli Schlachter psychon at znc.in
Wed Mar 20 02:52:12 PDT 2013


Hi,

On 20.03.2013 08:33, Carlos López González wrote:
[...]
> The problem comes when the render system needs to map/unmap the Cairo
> surface and the widget is requested to be drawn. In that case, according to
> the documentation the surface behavior is unknown and so the render result
> is incorrect. But the widget thinks that the update of the drawing area was
> done and it is marked as 'clean' (no refreshed again).
>
> So the question is: is there any way to know if a surface is currently
> mapped?

What does "mapped" mean here? How do you map/unmap a cairo surface?

Uli


More information about the cairo mailing list