2 ms·
> But it's not clear from it whether now there is a way to avoid using GBM or EGLstreams. There's no avoiding GBM or EGLstreams, if you want a compositor, that
by vetinari 8y ago
> But it's not clear from it whether now there is a way to avoid using GBM or EGLstreams.
There's no avoiding GBM or EGLstreams, if you want a compositor, that can get a OpenGL/VA-API/whatever handle (as opposed to pixmap in system RAM) from the client and be able compose it on GPU (as opposed to being rendered by client by whatever means it wants, maybe transferred to system RAM, and then by compositor back to the GPU).
- shmerl 8y agoDo you mean even purely Vulkan based compositor will need GBM/EGLstreams? Or only when it needs to create an OpenGL context (which is obviously necessary to support as well). Then I suppose Nvidia should finish their proposed common memory manager, which looks stalled now.
- vetinari 8y agoEven Vulkan compositor wants to compose OpenGL (or other non-Vulkan) clients, so it needs a generic way to work with a cross-API handles to buffers allocated in Video RAM. That's what GBM/EGLstreams/that stalled Nvidia memory manager solve.