What is the reason for GLX and not EGL? Not super deep into it but we just replaced our linuxy things with EGL, any reason we should stay with GLX?
There are ways to send surfaces cross-process on each OS. In fact, they're basically the same ways surfman sends them across threads. They require some extra APIs surfman doesn't use yet, though. e.g. on macOS you can convert an IOSurface to a Mach port and back.
-
-
You don't have to mark a surface global to use these APIs. I don't bother to wrap those APIs at the moment because we shouldn't be sending surfaces cross-process in general. Any process that can access the GPU should basically be considered trusted.
-
Why does Firefox do that then? I've searched for a long time, and AFAICT that's the only way to share surfaces.
- 7 more replies
New conversation -
-
-
Didn't you tell me we won't do that anymore, because we need to make the surfaces global so that any process can access them, if we don't use XPC services on macOS? Did I misunderstand something?https://twitter.com/pcwalton/status/1172905803524653056 …
-
There's an API to convert a surface to a Mach port and back, as I recall. I believe XPC services is built on Mach ports anyway.
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.