summaryrefslogtreecommitdiff
path: root/include/ui/GrallocMapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ui/GrallocMapper.h')
-rw-r--r--include/ui/GrallocMapper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ui/GrallocMapper.h b/include/ui/GrallocMapper.h
index 5517449241..868fd14430 100644
--- a/include/ui/GrallocMapper.h
+++ b/include/ui/GrallocMapper.h
@@ -63,6 +63,11 @@ public:
return mMapper->getFormat(mDevice, handle, &format);
}
+ Error getLayerCount(buffer_handle_t handle, uint32_t& layerCount) const
+ {
+ return mMapper->getLayerCount(mDevice, handle, &layerCount);
+ }
+
Error getProducerUsageMask(buffer_handle_t handle,
uint64_t& usageMask) const
{