Skip to content
Snippets Groups Projects
Commit e47122d9 authored by Valerie Hau's avatar Valerie Hau
Browse files

Modify gralloc0 implementation

Add validateBufferSize and getTransportSize

Bug: 131089111
Test: build, boot
Change-Id: I9820197865e47832ae209cbf1cac3b544f45e60e
parent 7585636a
No related branches found
No related tags found
No related merge requests found
...@@ -1551,6 +1551,8 @@ struct private_module_t HAL_MODULE_INFO_SYM = { ...@@ -1551,6 +1551,8 @@ struct private_module_t HAL_MODULE_INFO_SYM = {
lock: gralloc_lock, lock: gralloc_lock,
unlock: gralloc_unlock, unlock: gralloc_unlock,
perform: NULL, perform: NULL,
validateBufferSize: NULL,
getTransportSize: NULL,
#if PLATFORM_SDK_VERSION >= 18 #if PLATFORM_SDK_VERSION >= 18
lock_ycbcr: gralloc_lock_ycbcr, lock_ycbcr: gralloc_lock_ycbcr,
#endif // PLATFORM_SDK_VERSION >= 18 #endif // PLATFORM_SDK_VERSION >= 18
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment