1
0
Fork 0
android_external_drm_hwcomp.../compositor
Roman Stratiienko 76892784ac drm_hwcomposer: Introduce SharedFd, use standard c++ RAII for UniqueFd
We use too much dup() system calls for present fence propagating.
Also when propagating acquire fence we use additional logic for
skipping such propagation for the validate/test cycle.

Both issues can be solved by introducing SharedFd, which will track
reference count of fd object.

After that the UniqueFd is used very rarely and can be simplified by
wrapping it into std::unique_ptr without caring too much of adding
an extra malloc/free operation.

Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
2023-01-16 20:13:58 +02:00
..
DrmKmsPlan.cpp drm_hwcomposer: Reorganize struct DrmHwcLayer 2022-05-17 11:20:44 +03:00
DrmKmsPlan.h drm_hwcomposer: Use pragma once instead of include guards 2022-12-10 20:37:34 +02:00
LayerData.h drm_hwcomposer: Introduce SharedFd, use standard c++ RAII for UniqueFd 2023-01-16 20:13:58 +02:00