Package icyllis.modernui.core.awt
Class PlatformMacOSXGLCanvas
java.lang.Object
icyllis.modernui.core.awt.PlatformMacOSXGLCanvas
- All Implemented Interfaces:
PlatformGLCanvas
-
Field Summary
Fields -
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 -
ds
public org.lwjgl.system.jawt.JAWTDrawingSurface ds
-
-
Constructor Details
-
PlatformMacOSXGLCanvas
public PlatformMacOSXGLCanvas()
-
-
Method Details
-
create
- Specified by:
createin interfacePlatformGLCanvas- Throws:
AWTException
-
swapBuffers
public boolean swapBuffers()- Specified by:
swapBuffersin interfacePlatformGLCanvas
-
deleteContext
public boolean deleteContext(long context) - Specified by:
deleteContextin interfacePlatformGLCanvas
-
makeCurrent
public boolean makeCurrent(long context) - Specified by:
makeCurrentin interfacePlatformGLCanvas
-
isCurrent
public boolean isCurrent(long context) - Specified by:
isCurrentin interfacePlatformGLCanvas
-
delayBeforeSwapNV
public boolean delayBeforeSwapNV(float seconds) - Specified by:
delayBeforeSwapNVin interfacePlatformGLCanvas
-
lock
- Specified by:
lockin interfacePlatformGLCanvas- Throws:
AWTException
-
unlock
public void unlock()- Specified by:
unlockin interfacePlatformGLCanvas
-
dispose
public void dispose()- Specified by:
disposein interfacePlatformGLCanvas
-