Skip to content

Advertise my work on porting the gbm_gralloc philosophy to minigbm (cros_gralloc) #26

@rsglobal

Description

@rsglobal

Dispite this project is old, the philosophy that was implemented here makes it attractable to use in modern Android.

But there are several issues that can't be fixes by few lines of code, which forced me to search for alternatives:

  • Poor YUV formats support
  • Android 10+ require Gralloc3+ by VTS, which isn't available here and no adapters exist.
  • Extending this to allocate buffers for camera/HWenc/dec isn't trivial, and require significant code redesigning.

From the other hand minigbm is constantly maintained by Chromium OS guys, all moderns APIs available, but it has different philosophy which require copy part of mesa3d and paste inside minigbm to make it work. Any new device require this copy-paste-test iterations.

Here is my second attempt to port gbm_gralloc as minigbm backend: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/3024265 (first was DRI DSO-based)

At this moment it successfully tested with sun4i_drm + lima, v3d+vc4, sun4i_drm+panfrost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions