GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
video_display_state(3) Arcan Lua API video_display_state(3)

video_display_state - Change power state for a display

statestr
video_display_state( id, state )

This function is intended for nativ video platforms that expose raw video display control (and for _lwa builds, a switch to enable/disable render passes while maintaining other parts of the pipeline). Note that the function returns a human readable string representing the current state, but the optional state argument expects one of the following constants: DISPLAY_OFF , DISPLAY_ON , DISPLAY_SUSPEND , DISPLAY_STANDBY any other value is a terminal state transition. The id value for a display can be retrieved in the event handler for _display_state(action, id).

function video_display_state0()
      print(video_display_state(0));
      print(video_display_state(0, DISPLAY_OFF));
      print(video_display_state(0, DISPLAY_ON));
end

June 2022 vidsys

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.