Remaining dmabuf tasks
-
Add api for tranches, flags and devices. Keep the dmabuf formats object immutable though. -
Add a GdkSurface::dmabuf-formats property. We need to figure out how this relates to subsurfaces - just pick the formats of the first subsurface, or maybe it is enough to just stick to the formats on the surface itself. The surface property will be mutable (and we make it property so we get change notification) -
Add support for clipping dmabufs while offloading (ie handle subsurface { clip { texture } } nodes). This will need the clip to be turned into the right setup for the viewporter we use (!6833 (merged)) -
Add a create_dmabuf() api -
Support flipping -
Support 90° rotations -
Make GtkGLArea produce dmabuf textures and thus support offloading -
Support the single-pixel buffer trick for direct scanout -
Support buffer pools, somehow
Once we have these, the gstreamer backend can use GdkSurface::dmabuf-formats for its needs, and GtkGLArea can use create_dmabuf() for the textures it delivers.
Some related code exists in !6578
Edited by Matthias Clasen