summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValerie Hau <vhau@google.com>2019-05-01 10:07:23 -0700
committerNicholas Lim <nicknitewolf@lineageos.org>2020-04-29 23:52:28 +0800
commita3bab2aa3c2e315e0ac166e7ee36ebb8e0bd2029 (patch)
tree6ad21687c0492dc6a5558cece55ec43d2b75dcb5
parent5ab3f11115f2d3c8c74bec7c027e9178fc7100b5 (diff)
downloadhardware_qcom_display-lineage-17.1-caf-msm8916.tar.gz
hardware_qcom_display-lineage-17.1-caf-msm8916.tar.bz2
hardware_qcom_display-lineage-17.1-caf-msm8916.zip
Modify gralloc0 implementationlineage-17.1-caf-msm8916
Add validateBufferSize and getTransportSize Bug: 131089111 Test: build, boot Change-Id: Ib518d095a3421e1b2c1ebbc7c64c641652102f78
-rw-r--r--libgralloc/gralloc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgralloc/gralloc.cpp b/libgralloc/gralloc.cpp
index 79e2e9cc5..5f69ff888 100644
--- a/libgralloc/gralloc.cpp
+++ b/libgralloc/gralloc.cpp
@@ -84,6 +84,8 @@ struct private_module_t HAL_MODULE_INFO_SYM = {
.unlock = gralloc_unlock,
.perform = gralloc_perform,
.lock_ycbcr = gralloc_lock_ycbcr,
+ .validateBufferSize = NULL,
+ .getTransportSize = NULL,
},
.framebuffer = 0,
.fbFormat = 0,