Package icyllis.modernui.core.awt
Class PlatformWin32GLCanvas
java.lang.Object
icyllis.modernui.core.awt.PlatformWin32GLCanvas
- All Implemented Interfaces:
PlatformGLCanvas
Windows-specific implementation of
PlatformGLCanvas.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.lwjgl.system.jawt.JAWTorg.lwjgl.system.jawt.JAWTDrawingSurfacelonglongboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongbooleandelayBeforeSwapNV(float seconds) booleandeleteContext(long context) voiddispose()booleanisCurrent(long context) voidlock()booleanmakeCurrent(long context) booleanvoidunlock()
-
Field Details
-
awt
public static final org.lwjgl.system.jawt.JAWT awt -
hwnd
public long hwnd -
wglDelayBeforeSwapNVAddr
public long wglDelayBeforeSwapNVAddr -
wglDelayBeforeSwapNVAddr_set
public boolean wglDelayBeforeSwapNVAddr_set -
ds
public org.lwjgl.system.jawt.JAWTDrawingSurface ds
-
-
Constructor Details
-
PlatformWin32GLCanvas
public PlatformWin32GLCanvas()
-
-
Method Details
-
create
- Specified by:
createin interfacePlatformGLCanvas- Throws:
AWTException
-
isCurrent
public boolean isCurrent(long context) - Specified by:
isCurrentin interfacePlatformGLCanvas
-
makeCurrent
public boolean makeCurrent(long context) - Specified by:
makeCurrentin interfacePlatformGLCanvas
-
deleteContext
public boolean deleteContext(long context) - Specified by:
deleteContextin interfacePlatformGLCanvas
-
swapBuffers
public boolean swapBuffers()- Specified by:
swapBuffersin interfacePlatformGLCanvas
-
delayBeforeSwapNV
public boolean delayBeforeSwapNV(float seconds) - Specified by:
delayBeforeSwapNVin interfacePlatformGLCanvas
-
lock
- Specified by:
lockin interfacePlatformGLCanvas- Throws:
AWTException
-
unlock
- Specified by:
unlockin interfacePlatformGLCanvas- Throws:
AWTException
-
dispose
public void dispose()- Specified by:
disposein interfacePlatformGLCanvas
-