summaryrefslogtreecommitdiffstats
path: root/libs/rs/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
commite7c4a7565c7f8c8fc1ec92dc0692577fcc474750 (patch)
treed43d472a9207a28ff03141e6920a21fc6012b44c /libs/rs/rsElement.cpp
parent466e3a22db283958a1da71cc60a23ce3976a3659 (diff)
downloadframeworks_base-e7c4a7565c7f8c8fc1ec92dc0692577fcc474750.zip
frameworks_base-e7c4a7565c7f8c8fc1ec92dc0692577fcc474750.tar.gz
frameworks_base-e7c4a7565c7f8c8fc1ec92dc0692577fcc474750.tar.bz2
Modifying libRS internal communication to handle network rendering.
Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
Diffstat (limited to 'libs/rs/rsElement.cpp')
-rw-r--r--libs/rs/rsElement.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/libs/rs/rsElement.cpp b/libs/rs/rsElement.cpp
index 477cb61..d5d5ca5 100644
--- a/libs/rs/rsElement.cpp
+++ b/libs/rs/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;
}