commit | e3d6bbfbaf0252b4bc1d647d7312f6c8bf9143d1 | [log] [tgz] |
---|---|---|
author | Valerie Hau <vhau@google.com> | Thu Apr 25 10:42:52 2019 -0700 |
committer | Roman Kiryanov <rkir@google.com> | Wed Jun 05 12:29:08 2019 -0700 |
tree | 0cf7c57463788afaef87b7f054c1b5d30045d395 | |
parent | 88edbb5937238f6483aa2bf8eeb7e43cfc3f5d10 [diff] |
Modify gralloc0 implementation Add validateBufferSize and getTransportSize Bug: 131089111 Test: build, boot Change-Id: Ic43570e285cf1314fd29477a991e094b179a35ad Merged-In: I9820197865e47832ae209cbf1cac3b544f45e60e Signed-off-by: Roman Kiryanov <rkir@google.com>
diff --git a/system/gralloc/gralloc.cpp b/system/gralloc/gralloc.cpp index 3d08158..d46c65d 100644 --- a/system/gralloc/gralloc.cpp +++ b/system/gralloc/gralloc.cpp
@@ -1553,6 +1553,8 @@ lock: gralloc_lock, unlock: gralloc_unlock, perform: NULL, + validateBufferSize: NULL, + getTransportSize: NULL, #if PLATFORM_SDK_VERSION >= 18 lock_ycbcr: gralloc_lock_ycbcr, #endif // PLATFORM_SDK_VERSION >= 18