summaryrefslogtreecommitdiff
path: root/gralloc
diff options
context:
space:
mode:
authorValerie Hau <vhau@google.com>2019-04-25 10:17:58 -0700
committerValerie Hau <vhau@google.com>2019-04-25 10:27:49 -0700
commitc2747e72f9f7d73a406258bfb57936734829f25d (patch)
treeb9e17afcf31e1fcf292ac54bfe1a00019a026015 /gralloc
parentab4f88fcfcc5c732aadee7c277ae279e798d588f (diff)
downloadhikey-c2747e72f9f7d73a406258bfb57936734829f25d.tar.gz
Modify gralloc0 implementation
Add validateBufferSize and getTransportSize Bug: 131089111 Test: build, boot Change-Id: I1eb01fe01af5b0f6b6d3dbccd522eb73bd436053
Diffstat (limited to 'gralloc')
-rw-r--r--gralloc/gralloc_module.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gralloc/gralloc_module.cpp b/gralloc/gralloc_module.cpp
index 4937b596..69054780 100644
--- a/gralloc/gralloc_module.cpp
+++ b/gralloc/gralloc_module.cpp
@@ -529,6 +529,8 @@ private_module_t::private_module_t()
base.unlock = gralloc_unlock;
base.perform = NULL;
base.lock_ycbcr = gralloc_lock_ycbcr;
+ base.getTransportSize = NULL;
+ base.validateBufferSize = NULL;
#if defined(GRALLOC_MODULE_API_VERSION_0_3)
base.lockAsync = gralloc_lock_async;
base.unlockAsync = gralloc_unlock_async;