st/egl: add native_present_control
authorChia-I Wu <olv@lunarg.com>
Fri, 2 Sep 2011 13:26:24 +0000 (21:26 +0800)
committerChia-I Wu <olv@lunarg.com>
Thu, 8 Sep 2011 03:16:11 +0000 (11:16 +0800)
commit08e1076fd2d3f6fb879dd2529e7d035d6a399da2
treeaeec3914333754dc2745c4f747a3a6bc69f4a1e0
parentc0470bf77a038fd45441d1e55e6c89100996ff4b
st/egl: add native_present_control

Replace the parameters of native_surface::present by a struct,
native_present_control.  Using a struct allows us to add more control
options without having to update each backend every time.
src/gallium/state_trackers/egl/android/native_android.cpp
src/gallium/state_trackers/egl/common/egl_g3d_api.c
src/gallium/state_trackers/egl/common/egl_g3d_st.c
src/gallium/state_trackers/egl/common/native.h
src/gallium/state_trackers/egl/common/native_helper.c
src/gallium/state_trackers/egl/drm/modeset.c
src/gallium/state_trackers/egl/fbdev/native_fbdev.c
src/gallium/state_trackers/egl/gdi/native_gdi.c
src/gallium/state_trackers/egl/wayland/native_wayland.c
src/gallium/state_trackers/egl/x11/native_dri2.c
src/gallium/state_trackers/egl/x11/native_ximage.c