FreeBSD Manual Pages
target_synchronous(3) Arcan Lua API target_synchronous(3) NAME target_synchronous - Enforce synchronous transfers SYNOPSIS target_synchronous( dstvid, state ) DESCRIPTION This function is potentially dangerous; there is a tradeoff between respon- siveness and reliable readbacks for recordtargets in that if the frame- server isn't ready to receive when a readback from the GPU has been com- pleted, the frame will be discarded. This asynchronous-discard behavior can be altered on a single frameserver by calling target_synchronous. This changes synchronization behavior in that processing will not continue until the frameserver is ready to receive. This means that an untrusted frame- server implementation can potentially livelock the main engine and will in- troduce additional jitter between rendered frames. If this is performed on a frameserver in decode mode however, the "discard if PTS is too old" be- havior will be disabled and the last presented timestamp will be set to the frame that would've otherwise been discared. This behavior can be switched on or off dynamically by setting state to 1/true(default) or 0/false. SEE ALSO: targetcontrol August 2026 target_synchronous(3)
NAME | SYNOPSIS | DESCRIPTION | SEE ALSO:
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=target_synchronous&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>
