|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jogamp.newt.opengl.GLWindow.GLLifecycleHook
protected class GLWindow.GLLifecycleHook
Constructor Summary | |
---|---|
protected |
GLWindow.GLLifecycleHook()
|
Method Summary | |
---|---|
void |
destroyActionInLock()
Invoked before Window destroy action, allows releasing of resources depending on the native Window. Surface locked. Called from EDT while window is locked. |
void |
destroyActionPreLock()
Invoked before Window destroy action, allows releasing of resources depending on the native Window. Surface not locked yet. Called not necessarily from EDT. |
void |
invalidate(boolean unrecoverable)
Invoked after destruction from Window's invalidate method. Called while window is locked. |
boolean |
pauseRenderingAction()
Invoked for expensive modifications, ie while reparenting and ScreenMode change. No lock is hold when invoked. |
void |
resetCounter()
Reset of internal state counter, ie totalFrames, etc. |
void |
resumeRenderingAction()
Invoked for expensive modifications, ie while reparenting and ScreenMode change. |
void |
setVisibleActionPost(boolean visible,
boolean nativeWindowCreated)
Invoked after Window setVisible, allows allocating resources depending on the native Window. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected GLWindow.GLLifecycleHook()
Method Detail |
---|
public void destroyActionPreLock()
WindowImpl.LifecycleHook
destroyActionPreLock
in interface WindowImpl.LifecycleHook
public void destroyActionInLock()
WindowImpl.LifecycleHook
destroyActionInLock
in interface WindowImpl.LifecycleHook
public void invalidate(boolean unrecoverable)
WindowImpl.LifecycleHook
invalidate
in interface WindowImpl.LifecycleHook
public void resetCounter()
WindowImpl.LifecycleHook
resetCounter
in interface WindowImpl.LifecycleHook
public void setVisibleActionPost(boolean visible, boolean nativeWindowCreated)
WindowImpl.LifecycleHook
setVisibleActionPost
in interface WindowImpl.LifecycleHook
public boolean pauseRenderingAction()
WindowImpl.LifecycleHook
pauseRenderingAction
in interface WindowImpl.LifecycleHook
WindowImpl.LifecycleHook.resumeRenderingAction()
shall be issued.WindowImpl.LifecycleHook.resumeRenderingAction()
public void resumeRenderingAction()
WindowImpl.LifecycleHook
resumeRenderingAction
in interface WindowImpl.LifecycleHook
WindowImpl.LifecycleHook.pauseRenderingAction()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |