projects
/
GitHub
/
LineageOS
/
android_device_samsung_universal7580-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e371d88
)
universal7580: update gralloc header
author
Jan Altensen
<info@stricted.net>
Mon, 14 Sep 2020 02:37:48 +0000
(
04:37
+0200)
committer
Jan Altensen
<info@stricted.net>
Sat, 27 Mar 2021 01:35:56 +0000
(
02:35
+0100)
Change-Id: I7c370f91636c1813a46d5e8bf788aef9f14c51e5
(cherry picked from commit
33207c5f7a5f907224b6eb6b5c77b486b2be7381
)
include/hardware/gralloc.h
patch
|
blob
|
blame
|
history
diff --git
a/include/hardware/gralloc.h
b/include/hardware/gralloc.h
index ad79e42413548196ed33124eaea18afa82091e65..b45c8bcadbaffdb37b9cb432c06c1637914dc05b 100644
(file)
--- a/
include/hardware/gralloc.h
+++ b/
include/hardware/gralloc.h
@@
-136,6
+136,9
@@
enum {
* handle this flag. */
GRALLOC_USAGE_FOREIGN_BUFFERS = 0x00200000U,
+ /* buffer will be used as input to HW HEIC image encoder */
+ GRALLOC_USAGE_HW_IMAGE_ENCODER = 0x08000000U,
+
/* Mask of all flags which could be passed to a gralloc module for buffer
* allocation. Any flags not in this mask do not need to be handled by
* gralloc modules. */