Package zombie.core.opengl
Class RenderThread
java.lang.Object
zombie.core.opengl.RenderThread
public class RenderThread
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static java.lang.Object
m_contextLock
static java.lang.Thread
RenderThread
-
Constructor Summary
Constructors Constructor Description RenderThread()
-
Method Summary
Modifier and Type Method Description static int
getDisplayHeight()
static int
getDisplayWidth()
static void
init()
static void
initServerGUI()
static void
invokeOnRenderContext(java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, Invokers.Params4.ICallback iCallback)
static void
invokeOnRenderContext(java.lang.Object object, java.lang.Object object2, java.lang.Object object3, Invokers.Params3.ICallback iCallback)
static void
invokeOnRenderContext(java.lang.Object object, java.lang.Object object2, Invokers.Params2.ICallback iCallback)
static void
invokeOnRenderContext(java.lang.Object object, Invokers.Params1.ICallback iCallback)
static void
invokeOnRenderContext(java.lang.Runnable runnable)
static boolean
isCloseRequested()
static boolean
isCursorVisible()
static boolean
isRunning()
static boolean
isWaitForRenderState()
static void
logGLException(OpenGLException openGLException)
static void
logGLException(OpenGLException openGLException, boolean boolean1)
protected static void
notifyRenderStateQueue()
static void
onGameThreadExited()
static void
queueInvokeOnRenderContext(java.lang.Runnable runnable)
static void
queueInvokeOnRenderContext(RenderContextQueueItem renderContextQueueItem)
static void
Ready()
static void
renderLoop()
static void
setWaitForRenderState(boolean boolean1)
static void
shutdown()
static void
startRendering()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
RenderThread
public static java.lang.Thread RenderThread -
m_contextLock
public static final java.lang.Object m_contextLock
-
-
Constructor Details
-
RenderThread
public RenderThread()
-
-
Method Details
-
init
public static void init() -
initServerGUI
public static void initServerGUI() -
renderLoop
public static void renderLoop() -
isWaitForRenderState
public static boolean isWaitForRenderState() -
setWaitForRenderState
public static void setWaitForRenderState(boolean boolean1) -
logGLException
-
logGLException
-
Ready
public static void Ready() -
invokeOnRenderContext
public static void invokeOnRenderContext(java.lang.Runnable runnable) throws RenderContextQueueException- Throws:
RenderContextQueueException
-
invokeOnRenderContext
public static void invokeOnRenderContext(java.lang.Object object, Invokers.Params1.ICallback iCallback) -
invokeOnRenderContext
public static void invokeOnRenderContext(java.lang.Object object, java.lang.Object object2, Invokers.Params2.ICallback iCallback) -
invokeOnRenderContext
public static void invokeOnRenderContext(java.lang.Object object, java.lang.Object object2, java.lang.Object object3, Invokers.Params3.ICallback iCallback) -
invokeOnRenderContext
public static void invokeOnRenderContext(java.lang.Object object, java.lang.Object object2, java.lang.Object object3, java.lang.Object object4, Invokers.Params4.ICallback iCallback) -
notifyRenderStateQueue
protected static void notifyRenderStateQueue() -
queueInvokeOnRenderContext
public static void queueInvokeOnRenderContext(java.lang.Runnable runnable) -
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()
-