diff options
author | Sven Gothel <[email protected]> | 2011-11-10 05:15:12 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-11-10 05:15:12 +0100 |
commit | d237bde81beb9fc7bcd04b500a59360b63477285 (patch) | |
tree | 3cd3ab7a534edc84c6d03c19ee7403848c49e65e /make/config/jogl/gl-es2.cfg | |
parent | 51ad6992e068f25d86d2c9e085bd7ec6f49d2432 (diff) |
Animator: Limit wait for condition in finishLifecycleAction() via timeout
While impl. recreation for offscreen surfaces @ WindowImpl.setSize(),
commit 51ad6992e068f25d86d2c9e085bd7ec6f49d2432, it appears Animator deadlocks in some cases.
finishLifecycleAction() [blocks until pause() .. is accomplished]
queries whether we are even able to wait using skipWaitForCompletion().
The latter method can only query if we are on the animation thread or AWT-EDT, etc,
but not if we have traversed through a 3rd party thread, eg NEWT EDT.
This patches limits the wait with a timeout of 20frames @ 60Hz (20*16ms).
Diffstat (limited to 'make/config/jogl/gl-es2.cfg')
0 files changed, 0 insertions, 0 deletions