summaryrefslogtreecommitdiff
path: root/gralloc4/src/hidl_common/Allocator.h
diff options
context:
space:
mode:
authorXin Li <delphij@google.com>2024-03-06 09:30:00 -0800
committerXin Li <delphij@google.com>2024-03-06 09:30:00 -0800
commit75da8c2b6a290924157fb99dd0148f28cacfc7d9 (patch)
treea508cb65119b65346d5fdef28bec836659e434b5 /gralloc4/src/hidl_common/Allocator.h
parentc8a041c524c5d4f14ea90b241140173951e19129 (diff)
parentf16b249a5e346bd673ba312f71c55f02c6d4a476 (diff)
downloadgchips-75da8c2b6a290924157fb99dd0148f28cacfc7d9.tar.gz
Merge Android 14 QPR2 to AOSP main
Bug: 319669529 Merged-In: I4216757468b9304fb354a44a9555b53d2e3ecb2c Change-Id: I9f1ded871cfb0802d06be1d338ddc468a6f6600d
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