st/egl: Initialize KMS backend from an fd.
authorChia-I Wu <olv@lunarg.com>
Sun, 30 May 2010 02:21:09 +0000 (10:21 +0800)
committerChia-I Wu <olv@lunarg.com>
Sun, 30 May 2010 02:52:50 +0000 (10:52 +0800)
commit20c3d7190ed2c748cf959366a963b7dc973c5423
tree83f2dc7c5b23c6938d44a14ccb04a97c2f763c0d
parentb202c785862363d0534f04a8f2e8f0b5232d9b13
st/egl: Initialize KMS backend from an fd.

Check if the native native is EGL_DEFAULT_DISPLAY.  If not, treat it as
an fd.
src/gallium/state_trackers/egl/kms/native_kms.c