summaryrefslogtreecommitdiffstats
path: root/gralloc_drm_handle.h
diff options
context:
space:
mode:
authorRobert Foss <robert.foss@collabora.com>2017-05-31 20:39:58 -0400
committerRobert Foss <robert.foss@collabora.com>2017-06-08 13:30:16 -0400
commit07f1aed0dad760a501315f1a30c5c2c7ec0bc210 (patch)
tree01211249a05e50c9d4e6ccacae180261d3707978 /gralloc_drm_handle.h
parent75371e8b2991c5e6447ab3acb177c981ca7d67f3 (diff)
downloadgbm_gralloc-07f1aed0dad760a501315f1a30c5c2c7ec0bc210.tar.gz
gbm_gralloc-07f1aed0dad760a501315f1a30c5c2c7ec0bc210.tar.xz
Add support for modifiers
Modifiers are used to describe buffer metadata like if and how they are compressed or if tiling is used. This is needed to allow different devices to communicate about buffers that have these properties. Signed-off-by: Robert Foss <robert.foss@collabora.com>
Diffstat (limited to 'gralloc_drm_handle.h')
-rw-r--r--gralloc_drm_handle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gralloc_drm_handle.h b/gralloc_drm_handle.h
index 5c8d925..cd31cdf 100644
--- a/gralloc_drm_handle.h
+++ b/gralloc_drm_handle.h
@@ -49,6 +49,7 @@ struct gralloc_drm_handle_t {
int name; /* the name of the bo */
int stride; /* the stride in bytes */
+ uint64_t modifier; /* buffer modifiers */
int data_owner; /* owner of data (for validation) */
union {