diff options
author | Valerie Hau <vhau@google.com> | 2019-04-25 14:18:13 -0700 |
---|---|---|
committer | Valerie Hau <vhau@google.com> | 2019-04-25 14:18:13 -0700 |
commit | c6942597f868aedc0401be9952944f05affe5701 (patch) | |
tree | 7ed47eab826e3983b45c7cb604ab707edd7a6170 | |
parent | e173c86b21715203c2e5352f31b7b7c24cc6150a (diff) | |
download | android_device_generic_goldfish-c6942597f868aedc0401be9952944f05affe5701.tar.gz android_device_generic_goldfish-c6942597f868aedc0401be9952944f05affe5701.tar.bz2 android_device_generic_goldfish-c6942597f868aedc0401be9952944f05affe5701.zip |
Modify gralloc0 implementation
Add validateBufferSize and getTransportSize
Bug: 131089111
Test: build, boot
Change-Id: I14a6516af8e267ca22e530173623eff9b34abb47
-rw-r--r-- | gralloc/gralloc.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gralloc/gralloc.cpp b/gralloc/gralloc.cpp index 07bbfba..791d90f 100644 --- a/gralloc/gralloc.cpp +++ b/gralloc/gralloc.cpp @@ -89,6 +89,8 @@ struct private_module_t HAL_MODULE_INFO_SYM = { .unregisterBuffer = gralloc_unregister_buffer, .lock = gralloc_lock, .unlock = gralloc_unlock, + .validateBufferSize = NULL, + .getTransportSize = NULL, }, .framebuffer = 0, .flags = 0, |