Add createSized2D to C++ API
Change-Id: Idee31c74ba93cae334473a43a045e18c34a3fc31
diff --git a/cpp/rsCppStructs.h b/cpp/rsCppStructs.h
index b2b6d36..888837f 100644
--- a/cpp/rsCppStructs.h
+++ b/cpp/rsCppStructs.h
@@ -254,6 +254,10 @@
uint32_t usage = RS_ALLOCATION_USAGE_SCRIPT);
static sp<Allocation> createSized(sp<RS> rs, sp<const Element> e, size_t count,
uint32_t usage = RS_ALLOCATION_USAGE_SCRIPT);
+ static sp<Allocation> createSized2D(sp<RS> rs, sp<const Element> e,
+ size_t x, size_t y,
+ uint32_t usage = RS_ALLOCATION_USAGE_SCRIPT);
+
};