egl/wayland: Add invalidate back in eglSwapBuffers()
authorKristian Høgsberg <krh@bitplanet.net>
Fri, 30 Nov 2012 18:29:17 +0000 (13:29 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 10 Jan 2013 21:33:54 +0000 (16:33 -0500)
commitb49d9338d7e79752e886eede34db08e37c34f8ed
tree5ae1138421113b1d3410067e201e224afc29b822
parenteaf6884621661288624fc060974c3aa485771324
egl/wayland: Add invalidate back in eglSwapBuffers()

Commit ca3ed3e024864e91ca3cccc59fb96950e1d079b5 fixed the problem where
eglMakeCurrent would trigger a getbuffer callback that then breaks the
following wl_egl_window_resize() call.  However, we still need to
invalidate buffers in eglSwapBuffers, since in wayland we always swap
buffers, so the dri driver needs to come out and ask us for the next buffer
after each swapbuffer.

Note: this is a candidate for stable branches.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
src/egl/drivers/dri2/platform_wayland.c