1
0
Fork 0
android_external_drm_hwcomp.../bufferinfo
Roman Stratiienko 875f39793f drm_hwcomposer: Improve Mapper@4 metadata API fds index guessing logic
Unfortunately Mapper@4.0 metadata API doesn't allow to query fd index or
getting fd another way for every layout plane, therefore users have to
provide their custom additional metadata API.

We are doing all our best to minimize custom per-platform logic in
drm_hwcomposer. So it was decided to implement primitive guessing logic,
allowing users to extend it with out-of-tree code if necessary.

As was reported by John Stultz in [1] our primitive logic has some flaws.

New guessing logic are using inputs from layout data (offsets, sizes),
and should be more precise.

[1]: https://gitlab.freedesktop.org/drm-hwcomposer/drm-hwcomposer/-/merge_requests/159
Signed-off-by: Roman Stratiienko <roman.o.stratiienko@globallogic.com>
2021-10-22 23:05:06 +03:00
..
legacy drm_hwcomposer: CI: Upgrade clang-* to v12 2021-08-29 15:54:17 +03:00
BufferInfoGetter.cpp drm_hwcomposer: add missing HAL pixel format 2021-03-16 01:07:00 +00:00
BufferInfoGetter.h drm_hwcomposer: CI: Increase coverage 2021-04-06 12:12:17 +03:00
BufferInfoMapperMetadata.cpp drm_hwcomposer: Improve Mapper@4 metadata API fds index guessing logic 2021-10-22 23:05:06 +03:00
BufferInfoMapperMetadata.h drm_hwcomposer: implement Gralloc 4 BufferInfoMapperMetadata 2020-11-02 08:25:13 +00:00