| 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 void | collectNativeMonitorModesAndDevicesImpl(final MonitorModeProps.
memory pool caching the result cacheImplements abstract jogamp. |
| protected void | |
| private static native void | |
| private static final int | |
| private final String | |
| private native String | |
| private native int[] | |
| private static final int | |
| private static final int | |
| private native int[] | |
| private final MonitorMode | getMonitorModeImpl(final MonitorModeProps.
|
| private final String | |
| private native String | |
| private native int | |
| private native int | |
| private native int | |
| private native int | |
| protected MonitorMode | queryCurrentMonitorModeImpl(final MonitorDevice monitor)
Implements abstract jogamp. |
| protected boolean | setCurrentMonitorModeImpl(final MonitorDevice monitor, final MonitorMode mode)
Implements abstract jogamp. |
| private native boolean | setMonitorMode0(int adapter_idx, int x, int y, int width, int height, int bits, int freq, int flags, int rot)
|
| protected boolean | updateNativeMonitorDeviceViewportImpl(final MonitorDevice monitor, final float[] pixelScale, final Rectangle viewportPU, final Rectangle viewportWU)
Overrides jogamp. |
| protected int | validateScreenIndex(final int idx)
Implements abstract jogamp. idx
value or 0.
|
| 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 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.
| |
| dumpMonitorInfo0 | back to summary |
|---|---|
| private static native void dumpMonitorInfo0() | |
| getAdapterIndex | back to summary |
|---|---|
| private static final int getAdapterIndex(final int monitorId) | |
| getAdapterName | back to summary |
|---|---|
| private final String getAdapterName(final int adapter_idx) | |
| getAdapterName0 | back to summary |
|---|---|
| private native String getAdapterName0(int adapter_idx) | |
| getMonitorDevice0 | back to summary |
|---|---|
| private native int[] getMonitorDevice0(int adapter_idx, int monitor_idx, int monitorId) | |
| getMonitorId | back to summary |
|---|---|
| private static final int getMonitorId(final int adapterIdx, final int monitorIdx) | |
| getMonitorIndex | back to summary |
|---|---|
| private static final int getMonitorIndex(final int monitorId) | |
| getMonitorMode0 | back to summary |
|---|---|
| private native int[] getMonitorMode0(String adapterName, int mode_idx) | |
| getMonitorModeImpl | back to summary |
|---|---|
| private final MonitorMode getMonitorModeImpl(final MonitorModeProps. | |
| getMonitorName | back to summary |
|---|---|
| private final String getMonitorName(final String adapterName, final int monitor_idx, final boolean onlyActive) | |
| getMonitorName0 | back to summary |
|---|---|
| private native String getMonitorName0(String adapterName, int monitor_idx, boolean onlyActive) | |
| getVirtualHeightImpl0 | back to summary |
|---|---|
| private native int getVirtualHeightImpl0() | |
| getVirtualOriginX0 | back to summary |
|---|---|
| private native int getVirtualOriginX0() | |
| getVirtualOriginY0 | back to summary |
|---|---|
| private native int getVirtualOriginY0() | |
| getVirtualWidthImpl0 | back to summary |
|---|---|
| private native int getVirtualWidthImpl0() | |
| 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.
| |
| setMonitorMode0 | back to summary |
|---|---|
| private native boolean setMonitorMode0(int adapter_idx, int x, int y, int width, int height, int bits, int freq, int flags, int rot) | |
| updateNativeMonitorDeviceViewportImpl | back to summary |
|---|---|
| protected boolean updateNativeMonitorDeviceViewportImpl(final MonitorDevice monitor, final float[] pixelScale, final Rectangle viewportPU, final Rectangle viewportWU) Overrides jogamp.
| |
| 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.
| |