st/xlib: Notify the context when the front/back buffers are swapped.
authorChia-I Wu <olv@lunarg.com>
Tue, 7 Sep 2010 16:30:27 +0000 (00:30 +0800)
committerChia-I Wu <olv@lunarg.com>
Thu, 16 Sep 2010 05:09:48 +0000 (13:09 +0800)
commit03224f492dc9cee179ff9ed961be0443a3669dd1
tree23d9a37732677807c4722865c49a7990c3de1ba1
parent9ca59b2427837b8a70b580d66b4909e5f8443945
st/xlib: Notify the context when the front/back buffers are swapped.

The current context should be notified when the the front/back buffers
of the current drawable are swapped.  The notification was skipped when
xmesa_strict_invalidate is false (the default).

This fixes fdo bug #29774.
src/gallium/state_trackers/glx/xlib/xm_api.c
src/gallium/state_trackers/glx/xlib/xm_api.h
src/gallium/state_trackers/glx/xlib/xm_st.c