diff options
author | 2011-04-06 10:57:51 -0700 | |
---|---|---|
committer | 2011-04-25 14:30:27 -0700 | |
commit | e7c4a7565c7f8c8fc1ec92dc0692577fcc474750 (patch) | |
tree | d43d472a9207a28ff03141e6920a21fc6012b44c /libs/rs/rsScriptC.cpp | |
parent | 466e3a22db283958a1da71cc60a23ce3976a3659 (diff) |
Modifying libRS internal communication to handle network rendering.
Change-Id: I8c8b3cc3402ecf4ba774e1d668dce25ff0af0e5a
Diffstat (limited to 'libs/rs/rsScriptC.cpp')
-rw-r--r-- | libs/rs/rsScriptC.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libs/rs/rsScriptC.cpp b/libs/rs/rsScriptC.cpp index c379b8bab48c..6d0701d18720 100644 --- a/libs/rs/rsScriptC.cpp +++ b/libs/rs/rsScriptC.cpp @@ -267,12 +267,13 @@ namespace android { namespace renderscript { RsScript rsi_ScriptCCreate(Context *rsc, - const char *resName, const char *cacheDir, - const char *text, uint32_t len) + const char *resName, size_t resName_length, + const char *cacheDir, size_t cacheDir_length, + const char *text, uint32_t text_length) { ScriptC *s = new ScriptC(rsc); - if (!s->runCompiler(rsc, resName, cacheDir, (uint8_t *)text, len)) { + if (!s->runCompiler(rsc, resName, cacheDir, (uint8_t *)text, text_length)) { // Error during compile, destroy s and return null. delete s; return NULL; |