diff options
author | Valerie Hau <vhau@google.com> | 2019-04-25 10:42:52 -0700 |
---|---|---|
committer | Valerie Hau <vhau@google.com> | 2019-04-25 10:42:52 -0700 |
commit | e47122d9b0a0d2aee09787beb3a80f09b8dc107c (patch) | |
tree | e2df46036192c2edfa9c899a15c0789622cc9ab9 | |
parent | 7585636a4cbe4fdf51499f968ba4a954db7812cf (diff) | |
download | device_generic_goldfish-opengl-e47122d9b0a0d2aee09787beb3a80f09b8dc107c.tar.gz device_generic_goldfish-opengl-e47122d9b0a0d2aee09787beb3a80f09b8dc107c.tar.bz2 device_generic_goldfish-opengl-e47122d9b0a0d2aee09787beb3a80f09b8dc107c.zip |
Modify gralloc0 implementation
Add validateBufferSize and getTransportSize
Bug: 131089111
Test: build, boot
Change-Id: I9820197865e47832ae209cbf1cac3b544f45e60e
-rw-r--r-- | system/gralloc/gralloc.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/gralloc/gralloc.cpp b/system/gralloc/gralloc.cpp index aace8e3f..0a7276d2 100644 --- a/system/gralloc/gralloc.cpp +++ b/system/gralloc/gralloc.cpp @@ -1551,6 +1551,8 @@ struct private_module_t HAL_MODULE_INFO_SYM = { 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 |