Hacker News new | ask | show | jobs
by qb45 3812 days ago
The same way shared memory works on general purpose computers.

Your porn browser declares it wants to share its window buffer with the WM, the kernel maps the buffer into WM's GPU address space and now WM's shaders can read from this buffer.