Package icyllis.modernui.core.awt
Interface PlatformGLCanvas
- All Known Implementing Classes:
PlatformLinuxGLCanvas
,PlatformMacOSXGLCanvas
,PlatformWin32GLCanvas
public interface PlatformGLCanvas
Interface for platform-specific implementations of
AWTGLCanvas
.-
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()
-
Method Details
-
create
- Throws:
AWTException
-
deleteContext
boolean deleteContext(long context) -
makeCurrent
boolean makeCurrent(long context) -
isCurrent
boolean isCurrent(long context) -
swapBuffers
boolean swapBuffers() -
delayBeforeSwapNV
boolean delayBeforeSwapNV(float seconds) -
lock
- Throws:
AWTException
-
unlock
- Throws:
AWTException
-
dispose
void dispose()
-