Top Fields Methods
jogamp.newt.driver.x11

public Interface RandR

Known Direct Implementers
jogamp.newt.driver.x11.RandR11, jogamp.newt.driver.x11.RandR13
Imports
java.util.List, com.jogamp.nativewindow.util.RectangleImmutable, jogamp.newt.MonitorModeProps, com.jogamp.common.util.VersionNumber, com.jogamp.newt.MonitorDevice, .MonitorMode

Field Summary

Modifier and TypeField and Description
public static final VersionNumber
public static final VersionNumber
public static final VersionNumber

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

TODO
beginInitialQuery
(long
TODO
dpy
,
ScreenDriver
TODO
screen
)

Encapsulate initial device query allowing caching of internal data structures.

public void
dumpInfo(final long dpy, final int screen_idx)

public void
endInitialQuery(long dpy, ScreenDriver screen)

public int[]
getAvailableRotations(final long dpy, final ScreenDriver screen, final int crt_id)

public int[]
getCurrentMonitorModeProps(final long dpy, final ScreenDriver screen, final int crt_id)

public int[]
getMonitorDeviceIds(final long dpy, final ScreenDriver screen)

public int[]
getMonitorDeviceProps(final long dpy, final ScreenDriver screen, MonitorModeProps.Cache cache, final int crt_id)

public int[]
getMonitorDeviceViewport(final long dpy, final ScreenDriver screen, final int crt_id)

public int[]

Returns:

props w/o actual rotation
getMonitorModeProps
(final long dpy, final ScreenDriver screen, final int
w/o indexing rotation
mode_idx
)

public VersionNumber
public void
sendRRScreenChangeNotify(final long dpy, final long event)

Invoked from Display's EDT thread for message handling.

public boolean
setCurrentMonitorModeStart(final long dpy, final ScreenDriver screen, MonitorDevice monitor, final MonitorMode mode)

The device shall be locked, blocking message handling.

public boolean
setCurrentMonitorModeWait(final ScreenDriver screen)

The device must not be locked, allowing message handling.

public String
public void
updateScreenViewport(final long dpy, final ScreenDriver screen, RectangleImmutable viewport)

Field Detail

version110back to summary
public static final VersionNumber version110
version130back to summary
public static final VersionNumber version130
version140back to summary
public static final VersionNumber version140

Method Detail

beginInitialQueryback to summary
public boolean beginInitialQuery(long dpy, ScreenDriver screen)

Encapsulate initial device query allowing caching of internal data structures. Methods covered:

Above methods may be called w/o begin/end, in which case no internal data structures can be cached:

Parameters
dpy:long

TODO

screen:ScreenDriver

TODO

Returns:boolean

TODO

dumpInfoback to summary
public void dumpInfo(final long dpy, final int screen_idx)
endInitialQueryback to summary
public void endInitialQuery(long dpy, ScreenDriver screen)
getAvailableRotationsback to summary
public int[] getAvailableRotations(final long dpy, final ScreenDriver screen, final int crt_id)
getCurrentMonitorModePropsback to summary
public int[] getCurrentMonitorModeProps(final long dpy, final ScreenDriver screen, final int crt_id)
getMonitorDeviceIdsback to summary
public int[] getMonitorDeviceIds(final long dpy, final ScreenDriver screen)
getMonitorDevicePropsback to summary
public int[] getMonitorDeviceProps(final long dpy, final ScreenDriver screen, MonitorModeProps.Cache cache, final int crt_id)
getMonitorDeviceViewportback to summary
public int[] getMonitorDeviceViewport(final long dpy, final ScreenDriver screen, final int crt_id)
getMonitorModePropsback to summary
public int[] getMonitorModeProps(final long dpy, final ScreenDriver screen, final int mode_idx)
Parameters
mode_idx:int

w/o indexing rotation

Returns:int[]

props w/o actual rotation

getVersionback to summary
public VersionNumber getVersion()
sendRRScreenChangeNotifyback to summary
public void sendRRScreenChangeNotify(final long dpy, final long event)

Invoked from Display's EDT thread for message handling.

setCurrentMonitorModeStartback to summary
public boolean setCurrentMonitorModeStart(final long dpy, final ScreenDriver screen, MonitorDevice monitor, final MonitorMode mode)

The device shall be locked, blocking message handling.

setCurrentMonitorModeWaitback to summary
public boolean setCurrentMonitorModeWait(final ScreenDriver screen)

The device must not be locked, allowing message handling.

toStringback to summary
public String toString()
Annotations
@Override
updateScreenViewportback to summary
public void updateScreenViewport(final long dpy, final ScreenDriver screen, RectangleImmutable viewport)