summaryrefslogtreecommitdiff
path: root/libs/ui/Gralloc2.cpp
diff options
context:
space:
mode:
author John Reck <jreck@google.com> 2022-12-08 11:45:29 -0500
committer John Reck <jreck@google.com> 2022-12-13 18:44:50 -0500
commit0ff95c9b2f9d85cac2015aa4de5731c6d5e1a060 (patch)
treec096c421883939501c803adc4d0c208e5974ee0f /libs/ui/Gralloc2.cpp
parentd1d227421b46588ec52c91c89e71a8e945b6ec21 (diff)
Add IMapper 5 implementation
Fixes: 205761028 Test: boots on CF w/ mapper4 removed Change-Id: I062ba3160fae972757669241fedcaf6ac3c6c12b
Diffstat (limited to 'libs/ui/Gralloc2.cpp')
-rw-r--r--libs/ui/Gralloc2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ui/Gralloc2.cpp b/libs/ui/Gralloc2.cpp
index f23f10a1a9..e9b5decee8 100644
--- a/libs/ui/Gralloc2.cpp
+++ b/libs/ui/Gralloc2.cpp
@@ -161,7 +161,7 @@ status_t Gralloc2Mapper::createDescriptor(void* bufferDescriptorInfo,
return static_cast<status_t>((ret.isOk()) ? error : kTransactionError);
}
-status_t Gralloc2Mapper::importBuffer(const hardware::hidl_handle& rawHandle,
+status_t Gralloc2Mapper::importBuffer(const native_handle_t* rawHandle,
buffer_handle_t* outBufferHandle) const {
Error error;
auto ret = mMapper->importBuffer(rawHandle,