From: Jan Altensen Date: Mon, 14 Sep 2020 02:37:48 +0000 (+0200) Subject: universal7580: update gralloc header X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6cf19622fbb6d92cb0b4ba3b6179b825363d18ff;p=GitHub%2FLineageOS%2Fandroid_device_samsung_universal7580-common.git universal7580: update gralloc header Change-Id: I7c370f91636c1813a46d5e8bf788aef9f14c51e5 (cherry picked from commit 33207c5f7a5f907224b6eb6b5c77b486b2be7381) --- diff --git a/include/hardware/gralloc.h b/include/hardware/gralloc.h index ad79e42..b45c8bc 100644 --- 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. */