Publish IOSurface instead of texture to Server?

Home Forums Syphon Syphon Development – Developer Publish IOSurface instead of texture to Server?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #46357
    pizthewiz
    Participant

    If Syphon uses an IOSurface internally, is there any way to feed a server an IOSurface directly instead of converting it to a texture first?

    #46361
    vade
    Keymaster

    Hey ya.

    In the current version of the public API, no, we don’t expose the internal IOSurfaceRef, for fear of abuse.

    Id say file a feature request and @bangnoise and I can discuss.

    Im pro opening up the API a bit, personally.

    #47228
    pizthewiz
    Participant

    Great thanks vade, I filed it as GH-11 and in the interim will just add a simple GL View to preview and provide a context to convert it in.

    #50110
    pizthewiz
    Participant

    Just closing the loop on the intention and outcome – I was looking to publish IOSurfaceRefs from a display stream to a Syphon server. Using the v002 Screen CapturePlugIn as my starting point, I put together Screener, a standalone app to do this. I stumbled through the context setup a bit so I’m sure it is quirky, but it fit my immediate need.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.