st/egl: Make config optional for create_pixmap_surface.
authorChia-I Wu <olv@lunarg.com>
Wed, 22 Dec 2010 04:14:44 +0000 (12:14 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 22 Dec 2010 05:22:36 +0000 (13:22 +0800)
commitaf767ee1133058bb24e2183e8bf2846424c96ee0
treea97e759d4f7734d6e2a3ce345ca94df0cd5027bd
parent2dd189a824d4c5c5157aaf381d5e424317a8d1e4
st/egl: Make config optional for create_pixmap_surface.

eglCopyBuffers or EGL_KHR_image_pixmap require creating a pixmap surface
without a config.  Make it just work without relying on
is_pixmap_supported.
src/gallium/state_trackers/egl/common/native.h
src/gallium/state_trackers/egl/x11/native_dri2.c
src/gallium/state_trackers/egl/x11/native_ximage.c