Re: [PATCH v2] window: do proper Cairo device flushing

2011-12-19 Thread Kristian Høgsberg
On Mon, Dec 19, 2011 at 6:57 AM, Pekka Paalanen wrote: > The Cairo documentation tells us to always call cairo_device_flush() > before using other rendering APIs on the cairo surface, especially where > the Cairo device shares state with us (that is, EGL and GL state in this > case). > > Add a cal

[PATCH v2] window: do proper Cairo device flushing

2011-12-19 Thread Pekka Paalanen
The Cairo documentation tells us to always call cairo_device_flush() before using other rendering APIs on the cairo surface, especially where the Cairo device shares state with us (that is, EGL and GL state in this case). Add a call to cairo_device_flush() into display_acquire_window_surface(), wh