Modify gralloc0 implementation am: c2747e72f9
am: 878f05676d
Change-Id: Id9b032cf203b0dab62ae5ce3a42d0f3bdc9092f2
diff --git a/gralloc/gralloc_module.cpp b/gralloc/gralloc_module.cpp
index 4937b59..6905478 100644
--- a/gralloc/gralloc_module.cpp
+++ b/gralloc/gralloc_module.cpp
@@ -529,6 +529,8 @@
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;
diff --git a/gralloc960/mali_gralloc_module.cpp b/gralloc960/mali_gralloc_module.cpp
index 3956351..96f7943 100644
--- a/gralloc960/mali_gralloc_module.cpp
+++ b/gralloc960/mali_gralloc_module.cpp
@@ -166,6 +166,8 @@
base.lockAsync_ycbcr = gralloc_lock_ycbcr_async;
base.unlockAsync = gralloc_unlock_async;
base.perform = NULL;
+ base.getTransportSize = NULL;
+ base.validateBufferSize = NULL;
INIT_ZERO(base.reserved_proc);
#endif