1
0
Fork 0
android_external_drm_hwcomp.../compositor
Roman Stratiienko 22fe9617da drm_hwcomposer: Make flattening thread-based instead of vsync-based
Using vsync means consume some CPU time every frame for
IRQ -> Kernel_Thread -> UserSpace_listener thread transitions.

Framework tries to reduce vsync usage to the minimum, by using timelines
instead.

New flattening controller thread wakes-up only once per second.

This commit also removes flattening info from dumpsys. Practice shows
that it is almost useless. Instead debugging can be done using ALOGV
dumps.

Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
2023-01-18 19:25:08 +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
FlatteningController.cpp drm_hwcomposer: Make flattening thread-based instead of vsync-based 2023-01-18 19:25:08 +02:00
FlatteningController.h drm_hwcomposer: Make flattening thread-based instead of vsync-based 2023-01-18 19:25:08 +02:00
LayerData.h drm_hwcomposer: Propagate acquire fence for test/validate cycle as well 2023-01-18 14:59:55 +02:00