Package icyllis.modernui.core.awt
Class PlatformMacOSXGLCanvas
java.lang.Object
icyllis.modernui.core.awt.PlatformMacOSXGLCanvas
- All Implemented Interfaces:
PlatformGLCanvas
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
boolean
delayBeforeSwapNV
(float seconds) boolean
deleteContext
(long context) void
dispose()
boolean
isCurrent
(long context) void
lock()
boolean
makeCurrent
(long context) boolean
void
unlock()
-
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:
create
in interfacePlatformGLCanvas
- Throws:
AWTException
-
swapBuffers
public boolean swapBuffers()- Specified by:
swapBuffers
in interfacePlatformGLCanvas
-
deleteContext
public boolean deleteContext(long context) - Specified by:
deleteContext
in interfacePlatformGLCanvas
-
makeCurrent
public boolean makeCurrent(long context) - Specified by:
makeCurrent
in interfacePlatformGLCanvas
-
isCurrent
public boolean isCurrent(long context) - Specified by:
isCurrent
in interfacePlatformGLCanvas
-
delayBeforeSwapNV
public boolean delayBeforeSwapNV(float seconds) - Specified by:
delayBeforeSwapNV
in interfacePlatformGLCanvas
-
lock
- Specified by:
lock
in interfacePlatformGLCanvas
- Throws:
AWTException
-
unlock
public void unlock()- Specified by:
unlock
in interfacePlatformGLCanvas
-
dispose
public void dispose()- Specified by:
dispose
in interfacePlatformGLCanvas
-