Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
video_display_state(3)		  Arcan Lua API 	  video_display_state(3)

NAME
     video_display_state - Change power state for a display

SYNOPSIS
     statestr
     video_display_state( id, state )

DESCRIPTION
     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 func-
     tion returns a human readable string representing the  current  state,  but
     the  optional  state  argument expects one of the following constants: DIS-
     PLAY_OFF , DISPLAY_ON , DISPLAY_SUSPEND , DISPLAY_STANDBY	any other  value
     is  a  terminal  state  transition.  The id  value for a display can be re-
     trieved in the event handler for _display_state(action, id).

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

SEE ALSO:
vidsys				   August 2026		  video_display_state(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=video_display_state&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help