Implement arrays and allocation adapters
WIP: now passing basic tests
Change-Id: I3d8c1ab12975428def225f88a04e24a4158ca69c
diff --git a/driver/rsdAllocation.h b/driver/rsdAllocation.h
index 9f13c98..0b6d8bf 100644
--- a/driver/rsdAllocation.h
+++ b/driver/rsdAllocation.h
@@ -84,6 +84,8 @@
bool rsdAllocationInit(const android::renderscript::Context *rsc,
android::renderscript::Allocation *alloc,
bool forceZero);
+bool rsdAllocationAdapterInit(const android::renderscript::Context *rsc,
+ android::renderscript::Allocation *alloc);
void rsdAllocationDestroy(const android::renderscript::Context *rsc,
android::renderscript::Allocation *alloc);
@@ -175,5 +177,8 @@
const android::renderscript::Allocation *alloc,
android::renderscript::rs_allocation *obj);
+void rsdAllocationAdapterOffset(const android::renderscript::Context *rsc,
+ const android::renderscript::Allocation *alloc);
+
#endif