public abstract class NativePlatform extends Object
Modifier and Type | Field and Description |
---|---|
protected AcceleratedScreen |
accScreen |
Modifier | Constructor and Description |
---|---|
protected |
NativePlatform() |
Modifier and Type | Method and Description |
---|---|
protected abstract com.sun.glass.ui.monocle.NativeCursor |
createCursor()
Creates the NativeCursor for this platform.
|
protected abstract com.sun.glass.ui.monocle.InputDeviceRegistry |
createInputDeviceRegistry()
Creates the InputDeviceRegistry for this platform.
|
protected abstract NativeScreen |
createScreen()
Creates the NativeScreen for this platform.
|
AcceleratedScreen |
getAcceleratedScreen(int[] attributes)
Gets the AcceleratedScreen for this platform
|
protected AcceleratedScreen accScreen
protected abstract com.sun.glass.ui.monocle.InputDeviceRegistry createInputDeviceRegistry()
protected abstract com.sun.glass.ui.monocle.NativeCursor createCursor()
protected abstract NativeScreen createScreen()
public AcceleratedScreen getAcceleratedScreen(int[] attributes) throws GLException, UnsatisfiedLinkError
attributes
- a sequence of pairs (GLAttibute, value)GLException
- if no OpenGL surface could be createdUnsatisfiedLinkError
- if native graphics libraries could not be loaded for this platform.Copyright © 2020. All rights reserved.