aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/javax/media/opengl/GLDebugMessage.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-09-13 15:27:43 +0200
committerSven Gothel <[email protected]>2014-09-13 15:27:43 +0200
commit424066616b085b36d88a39d56a618ea57cebc9e9 (patch)
tree18ab7d68f6eb681fd1ace15807a66bf04155cda1 /src/jogl/classes/javax/media/opengl/GLDebugMessage.java
parent6363fccee219ce238b0b2ded39c116e2bc8613d5 (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 'src/jogl/classes/javax/media/opengl/GLDebugMessage.java')
0 files changed, 0 insertions, 0 deletions