summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2011-02-04 14:39:57 -0800
committerStephen Hines <srhines@google.com>2011-02-04 14:56:49 -0800
commit3f73da5c96b998d86a5605ab50c90e2465985789 (patch)
tree14cb8221537b0a7d2df5e7935dfb92808355457d /libs
parent823fbbbab5856fa46f56c7acbdddaa50bf211d09 (diff)
downloadframeworks_base-3f73da5c96b998d86a5605ab50c90e2465985789.zip
frameworks_base-3f73da5c96b998d86a5605ab50c90e2465985789.tar.gz
frameworks_base-3f73da5c96b998d86a5605ab50c90e2465985789.tar.bz2
Add support for memcpy/memset to RS.
Bug: 3426446 Change-Id: I78170a50bdd891d928b3db96685b4c3c801b6f00
Diffstat (limited to 'libs')
-rw-r--r--libs/rs/rsScriptC_Lib.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/rs/rsScriptC_Lib.cpp b/libs/rs/rsScriptC_Lib.cpp
index 8a85f6e..80da8ae 100644
--- a/libs/rs/rsScriptC_Lib.cpp
+++ b/libs/rs/rsScriptC_Lib.cpp
@@ -856,6 +856,8 @@ static ScriptCState::SymbolTable_t gSyms[] = {
{ "__modsi3", (void *)&SC_modsi3, true },
{ "__udivsi3", (void *)&SC_udivsi3, true },
{ "__umodsi3", (void *)&SC_umodsi3, true },
+ { "memset", (void *)&memset, true },
+ { "memcpy", (void *)&memcpy, true },
// allocation
{ "_Z19rsAllocationGetDimX13rs_allocation", (void *)&SC_allocGetDimX, true },