tdm_hwc: add tdm_hwc_get_release_fences interface 62/237462/1
authorChangyeon Lee <cyeon.lee@samsung.com>
Wed, 24 Jun 2020 05:28:34 +0000 (14:28 +0900)
committerChangyeon Lee <cyeon.lee@samsung.com>
Tue, 30 Jun 2020 12:29:25 +0000 (21:29 +0900)
commit3874ada66d6b1f769b570e8a726d3a855b797984
treee9be75d7465182bdf87f63ca4530e69b21c11e4d
parent551eb5fd697dc79c85eab90cd2b212cabe3bbd01
tdm_hwc: add tdm_hwc_get_release_fences interface

Retrieves the windows which the backend requires setting the release fences
the release fence is signaled when the backend is no longer using previous buffer.

tdm_error tdm_hwc_get_release_fences(tdm_hwc *hwc, uint32_t *num_elements,
tdm_hwc_window **hwc_windows, int *fences);
tdm_error (*tdm_hwc_get_release_fences)(tdm_hwc *hwc, uint32_t *num_elements,
tdm_hwc_window **hwc_windows, int *release_fences);

Change-Id: Ie8bd337c6da2c49368263c701f2dcdcc31655f62
include/tdm.h
include/tdm_backend.h
src/tdm_hwc.c