backend/tdm: Add ds_tdm_output_hwc 17/278217/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Thu, 16 Jun 2022 02:52:13 +0000 (11:52 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Mon, 18 Jul 2022 05:58:56 +0000 (14:58 +0900)
commitd4128c591749fba92d718853ef403f214fb6e421
treed8e9c869b51bb36665143d2a3a293a442c7f00f2
parent72a88cda5d0ab7eceae7eaebf66fa1bfb9c52372
backend/tdm: Add ds_tdm_output_hwc

ds_tdm_output_hwc composites surface or buffer if hardware layer of output
can use direct scan-out(bypass compositing at output buffer).

ds_tdm_output_hwc has is consists of ds_tdm_output_hwc_window.
for using hardware compositing, display-server should set compositing
infomation of ds_tdm_output_hwc_window

it would be nice to ds_tdm_output_hwc can display all ds_tdm_output_hwc_window
by direct scan-out but it has restrictions.
output has limited number of hardware layer and hardware layer has
hw restrictions(buffer size, transform, format, etc).
if ds_tdm_output_hwc_window can not be display by direct scan-out,
display-server should composite it at output buffer.

ds_tdm_output_hwc_window is updated at output when ds_output_hwc_validate and
ds_output_commit is called because ds_tdm_output_hwc is component of ds_output.

Change-Id: If78e862e4acbcc1ae465fe8315fc478f888657b3
include/libds-tizen/backend/tdm.h
include/libds-tizen/backend/tdm_output_hwc.h [new file with mode: 0644]
include/libds-tizen/tbm_server.h
src/backend/tdm/meson.build
src/backend/tdm/output.c
src/backend/tdm/tdm.h
src/backend/tdm/tdm_output_hwc.c [new file with mode: 0644]
src/backend/tdm/tdm_output_hwc.h [new file with mode: 0644]