|
NAMEsubsystem_reset - Reset/rebuild a specific subsystemSYNOPSISnilsubsystem_reset( string:subsystem=video ) subsystem_reset( string:subsystem=video, int:card ) subsystem_reset( string:subsystem=video, int:card, int:swap ) DESCRIPTIONThis 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 specifEXAMPLEfunction subsystem_reset0() a = color_surface(64, 64, 255, 0, 0); show_image(a); subsystem_reset("video"); end SEE ALSO:
Visit the GSP FreeBSD Man Page Interface. |