Skip to content

backends/drm: Remove flags attribute in GbmBuffer

My goal is to replace the DrmGpuBuffer with the GraphicsBuffer. The GbmBuffer contains the flags attribute, which doesn't fit the GraphicsBuffer abstractions.

On the other hand, given how GbmBuffer::importBuffer() is used, we can make concrete assumptions about the flags. Specifically, that the imported buffer is going to be used for scanout only.

Merge request reports