Summary: | Context sharing between offscreen drawable and external GL context results in "createImpl ctx !ARB but ARB is used" | ||
---|---|---|---|
Product: | [JogAmp] Jogl | Reporter: | Tom Nuydens <tom.nuydens> |
Component: | opengl | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | --- | ||
Version: | 2.3.2 | ||
Hardware: | All | ||
OS: | windows | ||
Type: | --- | SCM Refs: |
daf23d57f2f1b68c8733d3bcea23843ce5a58bfb
ff90b5405b253a820643d4de820728aad37fdf8e
e50190e6d300e05f083974938a4d7cc8b38ddd62
6436b49405a7436d7df4ffd83602615cb9ae10a0
|
Workaround: | --- |
Description
Tom Nuydens
2015-06-01 15:41:01 CEST
See commits: daf23d57f2f1b68c8733d3bcea23843ce5a58bfb ff90b5405b253a820643d4de820728aad37fdf8e e50190e6d300e05f083974938a4d7cc8b38ddd62 6436b49405a7436d7df4ffd83602615cb9ae10a0 So far the unit test passes, while using AWT-EDT invoke later, not blocking the current GLEventListener. However, this exposes a weakness in sharing w/ an external context, since we cannot guarantee the state of the external master context. The latter should be locked while creating the slave context, which is guaranteed if using pure JOGL context/drawable semantics. Note: The non AWT-EDT path in the test is also non-blocking. Hence the result is sort of unstable, even if it passes. +++ You will also note the 'masterLock' in the test code, which does _not_ work when using AWT-EDT - reason unknown. |