diff options
author | 2016-10-21 15:23:44 -0700 | |
---|---|---|
committer | 2016-11-11 11:35:06 -0800 | |
commit | 6ebc46a7c01b22bc19d3c00b493f8d930b15b43a (patch) | |
tree | 6f68e8f1cf2ccde71eece4a037c8e32b4f0cd0b2 /include/ui/GrallocMapper.h | |
parent | cd7dedbe69f8c90d351b97b1acea2bb3635b68ca (diff) |
Add layered buffer support to libui and libgui.
Bug: 31686534
Test: manual
Change-Id: Ia40270701467f4b785660324cad883e7da08989a
Diffstat (limited to 'include/ui/GrallocMapper.h')
-rw-r--r-- | include/ui/GrallocMapper.h | 5 |
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 { |