diff options
author | Sven Gothel <[email protected]> | 2012-08-16 15:58:33 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-08-16 15:58:33 +0200 |
commit | 43a473b2005d7f59a7f4f5b8bc7ca9ae88b4e894 (patch) | |
tree | 9580d25adf52aa9a24165f44ee8d304453ebe428 /src/jogl/classes/jogamp/graph | |
parent | 53ba263381c7b0434cfe834e4be1ff67ebebe1fe (diff) |
EGLDisplayUtil: Workaround (latest) PVR 540 EGL regression where 3nd EGLDisplay's eglInitialize(..) fails ; Fix EGLDrawableFactory.getEGLSurface()
- EGLDisplayUtil: Workaround (latest) PVR 540 EGL regression where 3nd EGLDisplay's eglInitialize(..) fails
In this case and if eglGetDisplay(..) fails w/ a non EGL_DEFAULT_DEVICE, fall back to EGL_DEFAULT_DEVICE - always.
This workaround actually simplifies handling both cases.
- Fix EGLDrawableFactory.getEGLSurface()
Tests whether a given NativeSurface w/ EGLGraphicsDevice and EGLGraphicsConfiguration
has a valid EGL Surface. Only if true, reuse the whole NativeSurface,
otherwise construct the missing pieces (device, config and use a WrappedSurface for EGL).
Diffstat (limited to 'src/jogl/classes/jogamp/graph')
0 files changed, 0 insertions, 0 deletions