diff options
author | Sven Gothel <[email protected]> | 2014-09-13 15:27:43 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-09-14 01:20:24 +0200 |
commit | 6119c8adbb8f2f8acda470ef82b5032342c8f142 (patch) | |
tree | 026e23eb933914f930868ba6a5ea0fabeee61a28 /doc/Overview-OpenGL-Evolution-And-JOGL.html | |
parent | ec60c85314927adaacd57a56c7cfdd74c2634ce3 (diff) |
AnimatorBase.finishLifecycleAction(): Non blocking call shall return true, success - otherwise pause()/.. return value is inconsistent.
Caller of e.g. pause() running on the anim-thread or AWT-EDT (AWTAnimatorImpl)
will be non-blocking.
Before this change, a non-blocking simply did not wait until the 'hold' condition is reached
and returned its negated value.
This ofc is 'false', indicated unsuccessful operation.
Caller use the return value to determine whether the call actually paused (or ..)
the animator. Despite the non-blocking nature, the pause state was set, even if not reached.
Hence a resume() would be required to continue operation after a temporary pause.
+++
This change ignores the non-blocking nature's unmet condition.
finishLifecycleAction() returns !nok || !blocking,
i.e. either true for the reached condition (blocking) or true if non-blocking.
Blocking calls with unmet condition still return false.
+++
In case an animated GLAutoDrawableis being pulled after a non-blocking animator pause() call,
the GLAutoDrawable's implementation thread-safety must ensure proper operation.
+++
Diffstat (limited to 'doc/Overview-OpenGL-Evolution-And-JOGL.html')
0 files changed, 0 insertions, 0 deletions