1
0
Fork 0

drm_hwcomposer: Move include/drmhwcgralloc.h to bufferinfo/BufferInfo.h

... to emphasize its purpose.

- Rename struct HwcDrmBo -> struct BufferInfo
- Remove unused BufferInfo::acquire_fence, BufferInfo::hal_format and
  BufferInfo::usage fields

Signed-off-by: Roman Stratiienko <roman.o.stratiienko@globallogic.com>
This commit is contained in:
Roman Stratiienko 2022-02-21 10:52:18 +02:00
parent 8b926a5905
commit 1cbaaf9eeb
22 changed files with 49 additions and 95 deletions

View file

@ -28,7 +28,7 @@
namespace android {
int DrmHwcLayer::ImportBuffer(DrmDevice *drm_device) {
buffer_info = hwc_drm_bo_t{};
buffer_info = BufferInfo{};
int ret = BufferInfoGetter::GetInstance()->ConvertBoInfo(sf_handle,
&buffer_info);