st/egl: correctly return configs under wayland
authorChia-I Wu <olv@lunarg.com>
Wed, 7 Sep 2011 18:29:55 +0000 (02:29 +0800)
committerChia-I Wu <olv@lunarg.com>
Thu, 8 Sep 2011 03:16:12 +0000 (11:16 +0800)
commit95b445699d7f049116ee0927387a958a9933766b
treea01bcb46837522fd72bab21273b50416c91a7ccc
parent41f5d2e8acbe3d6393f8012813609215534b5678
st/egl: correctly return configs under wayland

When wl_drm is avaiable and enabled, handle "format" events and return
configs for the supported formats.  Otherwise, assume all formats of
wl_shm are supported.
src/gallium/state_trackers/egl/wayland/native_drm.c
src/gallium/state_trackers/egl/wayland/native_shm.c
src/gallium/state_trackers/egl/wayland/native_wayland.c
src/gallium/state_trackers/egl/wayland/native_wayland.h