summaryrefslogtreecommitdiffstats
path: root/rsElement.cpp
diff options
context:
space:
mode:
authorAlex Sakhartchouk <alexst@google.com>2011-04-06 10:57:51 -0700
committerJason Sams <rjsams@android.com>2011-04-25 14:30:27 -0700
commit70b83c111beceaf8fbb700580833e7fec99272cf (patch)
treef19b3ba326b016025014f5ae35891dcd0967f77d /rsElement.cpp
parentf47fb9b7ce529cee60ad211634bb27ed623f1098 (diff)
downloadandroid_frameworks_rs-70b83c111beceaf8fbb700580833e7fec99272cf.tar.gz
android_frameworks_rs-70b83c111beceaf8fbb700580833e7fec99272cf.tar.bz2
android_frameworks_rs-70b83c111beceaf8fbb700580833e7fec99272cf.zip
Modifying libRS internal communication to handle network rendering.
Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
Diffstat (limited to 'rsElement.cpp')
-rw-r--r--rsElement.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/rsElement.cpp b/rsElement.cpp
index 477cb616..d5d5ca5c 100644
--- a/rsElement.cpp
+++ b/rsElement.cpp
@@ -348,12 +348,15 @@ RsElement rsi_ElementCreate(Context *rsc,
}
RsElement rsi_ElementCreate2(Context *rsc,
- size_t count,
const RsElement * ein,
+ size_t ein_length,
const char ** names,
+ size_t names_length,
const size_t * nameLengths,
- const uint32_t * arraySizes) {
- const Element *e = Element::create(rsc, count, (const Element **)ein, names, nameLengths, arraySizes);
+ size_t nameLengths_length,
+ const uint32_t * arraySizes,
+ size_t arraySizes_length) {
+ const Element *e = Element::create(rsc, ein_length, (const Element **)ein, names, nameLengths, arraySizes);
e->incUserRef();
return (RsElement)e;
}