st/egl: Add native_surface::present callback.
authorChia-I Wu <olv@lunarg.com>
Wed, 3 Nov 2010 07:22:36 +0000 (15:22 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 3 Nov 2010 08:04:59 +0000 (16:04 +0800)
commit94bf657b2390a1cb72d748047e5c7014e4bc1752
tree3b204d554ccec7b2406a58bab74bf2494c661f2f
parentc9186bd5886f4e05fd62a98d42404eda2a99416c
st/egl: Add native_surface::present callback.

The callback presents the given attachment to the native engine.  It
allows the swap behavior and interval to be controlled.  It will replace
native_surface::flush_frontbuffer and native_surface::swap_buffers
shortly.
src/gallium/state_trackers/egl/common/native.h
src/gallium/state_trackers/egl/drm/modeset.c
src/gallium/state_trackers/egl/drm/native_drm.c
src/gallium/state_trackers/egl/fbdev/native_fbdev.c
src/gallium/state_trackers/egl/gdi/native_gdi.c
src/gallium/state_trackers/egl/x11/native_dri2.c
src/gallium/state_trackers/egl/x11/native_ximage.c