OSDN Git Service

egl: Change the way drivers are loaded.
authorChia-I Wu <olvaffe@gmail.com>
Thu, 13 Aug 2009 05:01:48 +0000 (13:01 +0800)
committerBrian Paul <brianp@vmware.com>
Tue, 18 Aug 2009 14:44:44 +0000 (08:44 -0600)
commit0eaa02c836821556c1e8d0141f49f57e23f2548d
tree2826cd0917f39dc4913ac089feb2400f5333e258
parent2f2cf461c57974abd89e4917945cc8ae6a67a72e
egl: Change the way drivers are loaded.

Driver is chosen and preloaded when eglGetDisplay is called.  Later when
eglInitialize is called, the same driver is matched to initialize the
display.  Also, add new, but unused, hooks to EGLDriver to allow a
driver to probe a display or unload itself.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/egl/main/eglapi.c
src/egl/main/egldisplay.c
src/egl/main/egldisplay.h
src/egl/main/egldriver.c
src/egl/main/egldriver.h
src/egl/main/eglglobals.c