egl: Rework config lookup.
authorChia-I Wu <olvaffe@gmail.com>
Fri, 25 Sep 2009 15:43:49 +0000 (23:43 +0800)
committerBrian Paul <brianp@vmware.com>
Tue, 29 Sep 2009 14:10:47 +0000 (08:10 -0600)
commit56822b0812cd500bd54bb7c4b573c54547efb657
tree17d57d1c863c305801078c6b5ab4bb3ce0013485
parent95cdd697e7e72cec1d0fe79c59a8ba7b8cef8571
egl: Rework config lookup.

Make it similiar to how contexts and surfaces are looked up.  It should
be slightly faster, and work better with multiple displays.

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