Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rsglobal opened this issue Aug 22, 2021 · 0 comments

Comments

@rsglobal
Copy link
Contributor

rsglobal commented Aug 22, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant