gralloc: Modify gralloc0 implementation
authorValerie Hau <vhau@google.com>
Wed, 1 May 2019 17:07:23 +0000 (19:07 +0200)
committerFrancescodario Cuzzocrea <bosconovic@gmail.com>
Tue, 26 Jan 2021 16:13:25 +0000 (17:13 +0100)
Add validateBufferSize and getTransportSize

Bug: 131089111
Test: build, boot
Change-Id: Ib518d095a3421e1b2c1ebbc7c64c641652102f78

gralloc/gralloc.cpp

index 7e27974a85f4e6a90c8db2387c0dc3bcf83568b3..c3d949e9569c256006030a79370dfdce12565744 100644 (file)
@@ -123,6 +123,8 @@ struct private_module_t HAL_MODULE_INFO_SYM = {
         .unlock = gralloc_unlock,
         .perform = NULL,
         .lock_ycbcr = gralloc_lock_ycbcr,
+        .validateBufferSize = NULL,
+        .getTransportSize = NULL,
     },
     .framebuffer = 0,
     .flags = 0,