st/egl_g3d: Always override flush_frontbuffer.
authorChia-I Wu <olvaffe@gmail.com>
Fri, 15 Jan 2010 09:39:49 +0000 (17:39 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Fri, 15 Jan 2010 09:42:57 +0000 (17:42 +0800)
commit51b00574a2ef81629548b079ef70c016bdd4251d
treee5170ff8b5617948fd66eb2a22b20eaba8584050
parent6664a6dd7fb701da26e04559bd8110703a61fd8f
st/egl_g3d: Always override flush_frontbuffer.

Instead of letting the native displays install their own version of
flush_frontbuffer, always override the callback with a version that
calls the flush_frontbuffer of the native surface.
src/gallium/state_trackers/egl_g3d/common/egl_g3d.c
src/gallium/state_trackers/egl_g3d/common/native.h
src/gallium/state_trackers/egl_g3d/kms/native_kms.c
src/gallium/state_trackers/egl_g3d/x11/native_dri2.c
src/gallium/state_trackers/egl_g3d/x11/native_x11.c
src/gallium/state_trackers/egl_g3d/x11/native_x11.h
src/gallium/state_trackers/egl_g3d/x11/native_ximage.c