egl: Some per-driver data should be per-display.
authorChia-I Wu <olvaffe@gmail.com>
Thu, 13 Aug 2009 05:38:24 +0000 (13:38 +0800)
committerBrian Paul <brianp@vmware.com>
Tue, 18 Aug 2009 14:49:09 +0000 (08:49 -0600)
commit5a2c9372a0d9fa1efd924f9386a4e3df47c17d0e
tree2dee512255194f0eb3eefe2a9064ece8da3b3885
parent0eaa02c836821556c1e8d0141f49f57e23f2548d
egl: Some per-driver data should be per-display.

Move some fields of _EGLDriver to _EGLDisplay.  It also becomes
unnecessary to pass _EGLDisplay to drivers when _eglMain is called.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
13 files changed:
src/egl/drivers/demo/demo.c
src/egl/drivers/glx/egl_glx.c
src/egl/main/eglapi.c
src/egl/main/egldisplay.h
src/egl/main/egldriver.c
src/egl/main/egldriver.h
src/egl/main/eglglobals.c
src/egl/main/eglglobals.h
src/egl/main/eglmisc.c
src/egl/main/eglsurface.c
src/egl/main/egltypedefs.h
src/gallium/state_trackers/egl/egl_tracker.c
src/gallium/winsys/egl_xlib/egl_xlib.c