egl: Revisit global data locking.
authorChia-I Wu <olv@lunarg.com>
Wed, 17 Feb 2010 11:03:30 +0000 (19:03 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 17 Feb 2010 12:00:12 +0000 (20:00 +0800)
commit4afe24808ee253c44c65b855f65bd0749c1e1524
treee7ec43369a44966988dac08c9356b4a2b4e9c76f
parent655f4654675e601a9482e40d8e50156c965b8934
egl: Revisit global data locking.

Lock the global mutex in _eglPreloadDrivers and _eglAllocScreenHandle.
Add comments to why certain pathes do not need locking.
src/egl/main/egldriver.c
src/egl/main/eglglobals.h
src/egl/main/eglscreen.c
src/egl/main/eglscreen.h