C# Class OpenTK.Platform.X11.X11DisplayDevice

Inheritance: DisplayDeviceBase
Mostra file Open project: prepare/HTML-Renderer Class Usage Examples

Public Methods

Method Description
TryChangeResolution ( DisplayDevice device, DisplayResolution resolution ) : bool
TryRestoreResolution ( DisplayDevice device ) : bool

Private Methods

Method Description
ChangeResolutionXF86 ( DisplayDevice device, DisplayResolution resolution ) : bool
ChangeResolutionXRandR ( DisplayDevice device, DisplayResolution resolution ) : bool
FindAvailableDepths ( int screen ) : int[]
FindAvailableResolutions ( int screen ) : OpenTK.Platform.X11.XRRScreenSize[]
FindCurrentDepth ( int screen ) : int
FindCurrentRefreshRate ( int screen ) : float
QueryXF86 ( List devices ) : bool
QueryXRandR ( List devices ) : bool
QueryXinerama ( List devices ) : bool
X11DisplayDevice ( ) : System

Method Details

TryChangeResolution() public method

public TryChangeResolution ( DisplayDevice device, DisplayResolution resolution ) : bool
device DisplayDevice
resolution DisplayResolution
return bool

TryRestoreResolution() public method

public TryRestoreResolution ( DisplayDevice device ) : bool
device DisplayDevice
return bool