Skip to content

drm_hwcomposer: Use DUMB buffer for modeset

Now, as the LayerProperties struct accepts BufferInfo and BufferInfo can carry the RAII-wrapped dmabuf FD, it has become elementary to use dumb buffer for a modeset.

There are two benefits compared to using the gralloc:

  1. We aim to make the DRM composer backend Android-agnostic.
  2. Not every gralloc may support mapping the HWFB buffer.

Merge request reports

Loading