diff options
author | Sven Gothel <[email protected]> | 2015-07-24 06:39:51 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-07-24 06:39:51 +0200 |
commit | e50190e6d300e05f083974938a4d7cc8b38ddd62 (patch) | |
tree | 5e284f28bbee182d626a3b45cfd6b4071f80599e /src/jogl | |
parent | c47ebe36a3676aae9a6a334b31e6c73f221d65aa (diff) |
Bug 1160: Fix test case (Avoid blocking/concurrent master context usage on AWT)
+ // We cannot use EventQueue.invokeAndWait(..) since it will
+ // block this will block the current thread, holding the context!
+ // The whole issue w/ an external shared context is make-current
+ // synchronization. JOGL attempts to lock the surface/drawable
+ // of the master context to avoid concurrent usage.
+ // The semantic constraints of a shared context are not well defined,
+ // i.e. some driver may allow creating a shared context w/ a master context
+ // to be in use - others don't.
+ // Hence it is up to the user to sync the external master context in this case,
+ // see 'masterLock' of in this code!
+ // EventQueue.invokeAndWait(initializer);
Diffstat (limited to 'src/jogl')
0 files changed, 0 insertions, 0 deletions