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

FreeBSD Manual Pages

  
 
  

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

NAME
     define_feedtarget	-  Create  a  direct copy association between two frame-
     servers.

SYNOPSIS
     subseg
     define_feedtarget( dstvid, srcvid, cbfun )

DESCRIPTION
     In rare cases, the recordtarget approach for creating  output  segments  in
     connected	frameservers  is too expensive or complex. The define_feedtarget
     function is intended for situations where the input data  from  one  frame-
     server  should  be copied exactly over to another without the possible GPU
     roundtrip. As such, no shaders, transformations or audio will carry over to
     the output. For this to work,  target_flags(srcvid,  TARGET_VSTORE_SYNCH  )
     should also be toggled so there is a local data buffer to work with.

NOTES
     1	    define_feedtarget does not handle dynamic resizes inside the srcvid.
	    If	source dimensions change, the subseg frameserver connection will
	    be terminated.

     2	    This can also be  used  for  debugging  issues  with  recordtargets,
	    calctargets, streaming textures and graphics drivers as it creates a
	    synchronized copy that is treated separately from regular textures.

SEE ALSO:
     target_flags(3)

targetcontrol			   August 2026		    define_feedtarget(3)

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

home | help