diff options
| author | Mathias Agopian <mathias@google.com> | 2009-08-17 18:07:06 -0700 |
|---|---|---|
| committer | Mathias Agopian <mathias@google.com> | 2009-08-17 18:07:06 -0700 |
| commit | dcebf6f65a890083545a8c191fcdc2522bfd035d (patch) | |
| tree | 3659d5b1a1ea32cc219445c9e4ebe08a822e48c9 /opengl/libs/egl_impl.h | |
| parent | 2b8954809e7de900e2c159c255d5237ae6f0e6f8 (diff) | |
| download | frameworks_base-dcebf6f65a890083545a8c191fcdc2522bfd035d.zip frameworks_base-dcebf6f65a890083545a8c191fcdc2522bfd035d.tar.gz frameworks_base-dcebf6f65a890083545a8c191fcdc2522bfd035d.tar.bz2 | |
fix bug [2021677] egl driver unloaded after eglTerminate() is called
refactored the code so that:
- EGL APIs that can be called before or after eglInitialize() will work by loading the drivers first
- make eglGetDisplay() a lot more efficient
- make sure that EGL drivers are loaded in a thread-safe way
- don't unload the drivers upon calling eglTerminate(), they're now never unloaded, since there is no safe way to do it (some thread could be running)
- updated our EGL version to 1.4
- return better error codes if errors happen during initialization
Diffstat (limited to 'opengl/libs/egl_impl.h')
| -rw-r--r-- | opengl/libs/egl_impl.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/opengl/libs/egl_impl.h b/opengl/libs/egl_impl.h index c5f753d..ac286cb 100644 --- a/opengl/libs/egl_impl.h +++ b/opengl/libs/egl_impl.h @@ -35,7 +35,6 @@ struct egl_connection_t gl_hooks_t * hooks; EGLint major; EGLint minor; - int unavailable; }; EGLAPI EGLImageKHR egl_get_image_for_current_context(EGLImageKHR image); |
