egl: Simplify driver matching.
authorChia-I Wu <olv@lunarg.com>
Wed, 12 Jan 2011 16:27:45 +0000 (00:27 +0800)
committerChia-I Wu <olv@lunarg.com>
Thu, 13 Jan 2011 10:10:38 +0000 (18:10 +0800)
commit655e4598927728a663f4cfcd6babdf7e5ad83f77
treefa937088bf0e27f51311c86dfbc016c103331f00
parenta4a38dcf61f141297a083ccac217200947d57b0d
egl: Simplify driver matching.

Add initialization options that drv->API.Initialize should support.
Replace drv->Probe by TestOnly initialization option and simplify
_eglMatchDriver.
src/egl/drivers/dri2/egl_dri2.c
src/egl/drivers/glx/egl_glx.c
src/egl/main/egldisplay.h
src/egl/main/egldriver.c
src/egl/main/egldriver.h
src/gallium/state_trackers/egl/common/egl_g3d.c