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
subsystem_reset(3) Arcan Lua API subsystem_reset(3)

subsystem_reset - Reset/rebuild a specific subsystem

nil
subsystem_reset( string:subsystem=video )
subsystem_reset( string:subsystem=video, int:card )
subsystem_reset( string:subsystem=video, int:card, int:swap )

This function is used to assist in debugging and for specific cases where a subsystem have hotpluggable devices that need special consideration. The most common use-case is multi- GPU settings and GPU settings where there is a difference between initialising the subsystem with a display connected and one where it is not. If subsystem is set to video and no card is specified or (the default) the card is set to -1, all GPU contexts will be rebuilt. If subsystem is set to video and no card is specif

function subsystem_reset0()
      a = color_surface(64, 64, 255, 0, 0);
      show_image(a);
      subsystem_reset("video");
end

June 2022 system

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.