summaryrefslogtreecommitdiffstats
path: root/make/config/jogl/glu-CustomJavaCode-base.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-06-26 07:00:19 +0300
committerSven Gothel <[email protected]>2010-06-26 07:00:19 +0300
commitf0bee9b5d23e100fe92b019c1afb76d8223c0d76 (patch)
treec8f5d9e22ede5e06b7e85b0f26260ef80136c41d /make/config/jogl/glu-CustomJavaCode-base.java
parent969e427642d3b9be376cefaada9febd489b7b3d7 (diff)
GLAutoDrawable: setAnimator/getAnimator/invoke/display changes; NEWT: Adding native repaint; NewtCanvasAWT focus fix
Support for native repaint, which shall call display() in case no animator is running. GLAutoDrawable invoke(GLRunnable) impl. handles case if invoked on animator thread, or no animator thread is running (issueing a display() call). The impl resides in GLDrawableHelper. GLEventListener's init() and glViewport()/reshape() method must be called before the 1st display() and after a dispose() call. It could miss the 1st display() call if added after the setVisible(true) call - due to the native repainting. The impl resides in GLDrawableHelper. The Animator un-/registers itself at the GLAutoDrawable via setAnimator. NEWT Window reparent always issues a resize() and display() call. NEWT native Window uses direct send.*Event for input events (again), instead of enqueueing it for performance. NEWT Window implements all status change and Java native event callbacks, instead of having duplicated code in all implementations. NewtCanvasAWT if the Newt window is focused, the AWT/Swing component[s] will loose the focus.
Diffstat (limited to 'make/config/jogl/glu-CustomJavaCode-base.java')
0 files changed, 0 insertions, 0 deletions