Re:Nvidia GPUs can break Chrome's incognito mode
by derefr on Saturday January 09, 2016 @07:58PM
(#10873630)
Indeed, you'd think each "app" (set of interacting processes; container; whatever) could have its own virtual GPU. But how would a compositing window manager work in that setup?
[ Parent
| on HN ]
Re:Nvidia GPUs can break Chrome's incognito mode
by crzwdjk on Saturday January 09, 2016 @09:13PM
(#10873828)
That _already_ requires sharing ownership of those GPU mappings, and you need to keep track of ownership at that level, or how else will the compositor know that the app is done drawing its window? If you don't wait, you can end up with tearing or even garbage in windows.
Re:Nvidia GPUs can break Chrome's incognito mode
by qb45 on Sunday January 10, 2016 @07:02AM
(#10875036)
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.