st/egl: Add get_param to native display interface.
authorChia-I Wu <olv@lunarg.com>
Fri, 5 Mar 2010 03:00:15 +0000 (11:00 +0800)
committerChia-I Wu <olv@lunarg.com>
Fri, 5 Mar 2010 03:32:29 +0000 (11:32 +0800)
commitfade8a6eb639d633cfdbba4a3ba3aa3cc5c04fa6
treee856f498737a728917b31901fa43f21ed065a96f
parent89a75b763467d83d4d402c91db55548682be14f0
st/egl: Add get_param to native display interface.

get_param can be used to query the parameters of a native display.
There is only NATIVE_PARAM_USE_NATIVE_BUFFER right now.  It queries
whether the window/pixmap surfaces use the native buffers instead of
private buffers.
src/gallium/state_trackers/egl/common/native.h
src/gallium/state_trackers/egl/kms/native_kms.c
src/gallium/state_trackers/egl/x11/native_dri2.c
src/gallium/state_trackers/egl/x11/native_ximage.c