commit | 9015ead7d6a380946ea4a077831c2b155caddf18 | [log] [tgz] |
---|---|---|
author | Pekka Paalanen <ppaalanen@gmail.com> | Mon Dec 19 13:57:59 2011 +0200 |
committer | Kristian Høgsberg <krh@bitplanet.net> | Mon Dec 19 10:50:38 2011 -0500 |
tree | c6c4e31db28863ff7b1b7f4e18fca8c3d4c879e4 | |
parent | ce03ec3fbe965c525ce9b9f31aac9a1e92afa42b [diff] |
window: do proper Cairo device flushing 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(), which the toytoolkit offers for switching to native (GL) rendering. Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>