smithay icon indicating copy to clipboard operation
smithay copied to clipboard

Move buffer allocation outside of x11 backend

Open i509VCB opened this issue 3 years ago • 0 comments

Right now the X11 backend manages window creation, input, buffer allocation and presentation.

This works fine assuming all the user wants to present are Dmabufs. However for software rendered buffers, a different buffer types will be needed for presentation.

Along with this, the X11 backend will also expose what modifiers and formats are supported for presentation of dmabufs. And there will need to be a way to find the drm device. In the case of X11, that is done by name in EGL or DRI3's provided render/primary node.

Then in the future, a way to present with XShm will be added.

i509VCB avatar Sep 22 '22 16:09 i509VCB