SRM
v0.10.0-1
Simple Rendering Manager
|
Cathode Ray Tube Controllers (CRTCs). More...
Cathode Ray Tube Controllers (CRTCs).
A Cathode Ray Tube Controller (CRTC) is responsible for controlling the display timings and attributes for a connected display device. This module provides functions to work with CRTCs in a SRM context.
Functions | |
UInt32 | srmCrtcGetID (SRMCrtc *crtc) |
Get the DRM ID of this CRTC. More... | |
SRMDevice * | srmCrtcGetDevice (SRMCrtc *crtc) |
Get the device this CRTC belongs to. More... | |
SRMConnector * | srmCrtcGetCurrentConnector (SRMCrtc *crtc) |
Returns a pointer to the SRMConnector that is currently using this CRTC, or NULL if it is not used by any connector. More... | |
UInt64 | srmCrtcGetGammaSize (SRMCrtc *crtc) |
Gets the number of elements used to represent each RGB gamma correction curve. More... | |
typedef struct SRMCrtcStruct SRMCrtc |
Get the DRM ID of this CRTC.
crtc | A pointer to the SRMCrtc instance. |
SRMConnector* srmCrtcGetCurrentConnector | ( | SRMCrtc * | crtc | ) |
Returns a pointer to the SRMConnector that is currently using this CRTC, or NULL
if it is not used by any connector.
crtc | A pointer to the SRMCrtc instance. |
NULL
if not in use. Gets the number of elements used to represent each RGB gamma correction curve.
This function retrieves the number of elements (N) used to represent each RGB gamma correction curve, where N is the count of UInt16 elements for red, green, and blue curves.
connector | Pointer to the SRMCrtc. |