Class RenderThread
java.lang.Object
zombie.core.opengl.RenderThread
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic int
static int
static long
static long
static void
init()
static void
static void
invokeOnRenderContext
(Runnable toInvoke) static <T1,
T2, T3, T4>
voidinvokeOnRenderContext
(T1 object0, T2 object1, T3 object2, T4 object3, Invokers.Params4.ICallback<T1, T2, T3, T4> iCallback) static <T1,
T2, T3>
voidinvokeOnRenderContext
(T1 object0, T2 object1, T3 object2, Invokers.Params3.ICallback<T1, T2, T3> iCallback) static <T1,
T2> void invokeOnRenderContext
(T1 object0, T2 object1, Invokers.Params2.ICallback<T1, T2> iCallback) static <T1> void
invokeOnRenderContext
(T1 object, Invokers.Params1.ICallback<T1> iCallback) static boolean
static boolean
static boolean
static boolean
static boolean
static void
logGLException
(org.lwjglx.opengl.OpenGLException openGLException) static void
logGLException
(org.lwjglx.opengl.OpenGLException openGLException, boolean boolean0) protected static void
static void
static void
queueInvokeOnRenderContext
(Runnable runnable) static void
queueInvokeOnRenderContext
(RenderContextQueueItem queueItem) static void
Ready()
static void
static void
setWaitForRenderState
(boolean wait) static void
shutdown()
static void
-
Field Details
-
RenderThread
-
m_contextLock
-
-
Constructor Details
-
RenderThread
public RenderThread()
-
-
Method Details
-
init
- Throws:
IOException
org.lwjglx.LWJGLException
-
initServerGUI
public static void initServerGUI() -
getRenderTime
public static long getRenderTime() -
renderLoop
public static void renderLoop() -
getWaitTime
public static long getWaitTime() -
isWaitForRenderState
public static boolean isWaitForRenderState() -
setWaitForRenderState
public static void setWaitForRenderState(boolean wait) -
logGLException
public static void logGLException(org.lwjglx.opengl.OpenGLException openGLException) -
logGLException
public static void logGLException(org.lwjglx.opengl.OpenGLException openGLException, boolean boolean0) -
Ready
public static void Ready() -
invokeOnRenderContext
- Throws:
RenderContextQueueException
-
invokeQueryOnRenderContext
-
invokeOnRenderContext
-
invokeOnRenderContext
public static <T1,T2> void invokeOnRenderContext(T1 object0, T2 object1, Invokers.Params2.ICallback<T1, T2> iCallback) -
invokeOnRenderContext
public static <T1,T2, void invokeOnRenderContextT3> (T1 object0, T2 object1, T3 object2, Invokers.Params3.ICallback<T1, T2, T3> iCallback) -
invokeOnRenderContext
public static <T1,T2, void invokeOnRenderContextT3, T4> (T1 object0, T2 object1, T3 object2, T4 object3, Invokers.Params4.ICallback<T1, T2, T3, T4> iCallback) -
notifyRenderStateQueue
protected static void notifyRenderStateQueue() -
queueInvokeOnRenderContext
-
queueInvokeOnRenderContext
-
shutdown
public static void shutdown() -
isCloseRequested
public static boolean isCloseRequested() -
getDisplayWidth
public static int getDisplayWidth() -
getDisplayHeight
public static int getDisplayHeight() -
isRunning
public static boolean isRunning() -
startRendering
public static void startRendering() -
onGameThreadExited
public static void onGameThreadExited() -
isCursorVisible
public static boolean isCursorVisible()
-