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 TypeMethodDescriptionlongbooleandelayBeforeSwapNV(float seconds) booleandeleteContext(long context) voiddispose()booleanisCurrent(long context) voidlock()booleanmakeCurrent(long context) booleanvoidunlock()
-
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()
-