diff options
author | Roman Stratiienko <r.stratiienko@gmail.com> | 2020-11-20 16:21:55 +0200 |
---|---|---|
committer | Roman Stratiienko <r.stratiienko@gmail.com> | 2020-12-03 13:03:51 +0200 |
commit | c8dd06612a7c05b747512dc8d903d76f32b75c6d (patch) | |
tree | d864a11d56a63a7b7a0c8dac95f744f5f7549db6 /include | |
parent | 32819fe45972e0c706423d71075788a5885f7b86 (diff) | |
download | drm_hwcomposer-c8dd06612a7c05b747512dc8d903d76f32b75c6d.tar.gz |
drm_hwcomposer: Reorganize modifiers handling logic
Reasons for this change:
1. Remove redundant code lines.
2. Workaround for cases when DRM_FORMAT_MOD_INVALID is set by gralloc.
Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/drmhwcgralloc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/drmhwcgralloc.h b/include/drmhwcgralloc.h index fc0af64..05b2cf0 100644 --- a/include/drmhwcgralloc.h +++ b/include/drmhwcgralloc.h @@ -32,7 +32,6 @@ typedef struct hwc_drm_bo { uint32_t gem_handles[HWC_DRM_BO_MAX_PLANES]; uint64_t modifiers[HWC_DRM_BO_MAX_PLANES]; uint32_t fb_id; - bool with_modifiers; int acquire_fence_fd; void *priv; } hwc_drm_bo_t; |