In my application I have a NSWindow with some drawing which is quickly changing (i.e. animation or video). Also I have another application, emulated via X11, which created GtkWindow. How can I copy all the drawings from the first Cocoa window to the second Gtk one in real-time?
Or, let me better divide the question on two parts:
- How to pass real-time data stream between two applications on Mac?
- How to grab real-time animation from one NSWindow and paste it to another?