| Modifier and Type | Field and Description |
|---|---|
| private static int | |
| private static int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | calcVirtualScreenOriginAndSize(final Rectangle
storage for result in pixel units viewport, final Rectangle storage for result in window units viewportInWindowUnits)Overrides jogamp. |
| protected void | |
| protected final void | collectNativeMonitorModesAndDevicesImpl(final MonitorModeProps.
memory pool caching the result cacheImplements abstract jogamp. |
| protected void | |
| protected MonitorMode | queryCurrentMonitorModeImpl(final MonitorDevice monitor)
Implements abstract jogamp. |
| protected boolean | setCurrentMonitorModeImpl(final MonitorDevice monitor, final MonitorMode mode)
Implements abstract jogamp. |
| protected void | |
| protected int | validateScreenIndex(final int idx)
Implements abstract jogamp. idx
value or 0.
|
| cachedHeight | back to summary |
|---|---|
| private static int cachedHeight | |
| cachedWidth | back to summary |
|---|---|
| private static int cachedWidth | |
| ScreenDriver | back to summary |
|---|---|
| public ScreenDriver() | |
| calcVirtualScreenOriginAndSize | back to summary |
|---|---|
| protected void calcVirtualScreenOriginAndSize(final Rectangle viewport, final Rectangle viewportInWindowUnits) Overrides jogamp. Doc from jogamp. Calculates the virtual rotated viewport in pixel- and window units. This method is called after the MonitorMode has been set or changed, hence you may utilize it.
Default implementation uses the union of all monitor's viewport,
calculated via | |
| closeNativeImpl | back to summary |
|---|---|
| protected void closeNativeImpl() Implements abstract jogamp.
| |
| collectNativeMonitorModesAndDevicesImpl | back to summary |
|---|---|
| protected final void collectNativeMonitorModesAndDevicesImpl(final MonitorModeProps. Implements abstract jogamp. Doc from jogamp. To be implemented by the native specification.
| |
| createNativeImpl | back to summary |
|---|---|
| protected void createNativeImpl() Implements abstract jogamp.
| |
| queryCurrentMonitorModeImpl | back to summary |
|---|---|
| protected MonitorMode queryCurrentMonitorModeImpl(final MonitorDevice monitor) Implements abstract jogamp. Doc from jogamp. To be implemented by the native specification.
Implementation shall not unify the result w/ monitor's supported modes or a locally
saved
| |
| setCurrentMonitorModeImpl | back to summary |
|---|---|
| protected boolean setCurrentMonitorModeImpl(final MonitorDevice monitor, final MonitorMode mode) Implements abstract jogamp. Doc from jogamp. To be implemented by the native specification.
| |
| sizeChanged | back to summary |
|---|---|
| protected void sizeChanged(final int w, final int h) | |
| validateScreenIndex | back to summary |
|---|---|
| protected int validateScreenIndex(final int idx) Implements abstract jogamp. Doc from jogamp. Returns the validated screen index, which is either the passed On big-desktops this shall return always 0.
| |