diff options
author | Chia-I Wu <[email protected]> | 2010-02-17 19:03:30 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2010-02-17 20:00:12 +0800 |
commit | 4afe24808ee253c44c65b855f65bd0749c1e1524 (patch) | |
tree | e7ec43369a44966988dac08c9356b4a2b4e9c76f /src/egl/main/eglglobals.h | |
parent | 655f4654675e601a9482e40d8e50156c965b8934 (diff) |
egl: Revisit global data locking.
Lock the global mutex in _eglPreloadDrivers and _eglAllocScreenHandle.
Add comments to why certain pathes do not need locking.
Diffstat (limited to 'src/egl/main/eglglobals.h')
-rw-r--r-- | src/egl/main/eglglobals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/egl/main/eglglobals.h b/src/egl/main/eglglobals.h index cd1dd5851b9..43688980208 100644 --- a/src/egl/main/eglglobals.h +++ b/src/egl/main/eglglobals.h @@ -18,6 +18,7 @@ struct _egl_global EGLScreenMESA FreeScreenHandle; + /* these never change after preloading */ EGLint NumDrivers; _EGLDriver *Drivers[10]; |