summaryrefslogtreecommitdiff
path: root/gralloc4/src/hidl_common/Allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'gralloc4/src/hidl_common/Allocator.h')
-rw-r--r--gralloc4/src/hidl_common/Allocator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gralloc4/src/hidl_common/Allocator.h b/gralloc4/src/hidl_common/Allocator.h
index 8fdd5ba..e5ce174 100644
--- a/gralloc4/src/hidl_common/Allocator.h
+++ b/gralloc4/src/hidl_common/Allocator.h
@@ -54,6 +54,10 @@ using android::hardware::hidl_vec;
void allocate(const buffer_descriptor_t &bufferDescriptor, uint32_t count, IAllocator::allocate_cb hidl_cb,
std::function<int(const buffer_descriptor_t *, buffer_handle_t *)> fb_allocator = nullptr);
+const std::string dump();
+
+int isSupported(buffer_descriptor_t *const bufDescriptor);
+
} // namespace common
} // namespace allocator
} // namespace arm