Cairo-nsgl with Syphon
enc0der <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <CAEXpi5RyOhRHLRZZtVPjz0FaTY32mxcnSaQ86ybcUACev1aQUg@mail.gmail.com> |
Hello! I downloaded the cairo-nsgl repository and got it all working on OSX, works fantastic. Now I've been trying to get it to work with Syphon and just not having any good luck. With Syphon, you can take a texture and basically export it out to other apps. This is a common method for taking visual output and bringing it into another app. Clearly I am just doing something wrong. I tried using glGetPixels, I tried using the Cairo get image data, but given this is a gl context, I imagine that is the problem I am running into. In the Cairo_nsgl library I don't see any function that is public for getting the image data out of the OpenGL nsview. Everything I have tried has produced a black output. Has anyone gone down this path with the nsgl Cairo version? Rick -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo