Set the display power-saving mode
#include <gf/gf.h> int gf_display_set_dpms ( gf_display_t display, unsigned mode );
gf
This function sets the display power-saving mode based on VESA Display Power Management System standards.
Mode | Description |
---|---|
GF_DPMS_ON | The display is in full operation (Video:Active, Horizontal: Sync Pulses, Vertical: Sync Pulses) |
GF_DPMS_STANDBY | An optional state of minimal power reduction with the shortest display recovery time (Video: Blanked, Horizontal Sync: off, Vertical Sync: Pulses) |
GF_DPMS_SUSPEND | A state with substantial power reduction, but the display recovery time can be longer than that of the standby state (Video: Blanked, Horizontal Sync: Pulses, Vertical Sync: off) |
GF_DPMS_OFF | The display is consuming the lowest level of power and is nonoperational (Video: Blanked, Horizontal Sync: off, Vertical Sync: off) |
QNX Graphics Framework
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | Yes |
gf_display_attach(), gf_display_detach()