diff options
Diffstat (limited to 'rsScript.cpp')
-rw-r--r-- | rsScript.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/rsScript.cpp b/rsScript.cpp index 4c2f52f0..8dae4190 100644 --- a/rsScript.cpp +++ b/rsScript.cpp @@ -17,8 +17,8 @@ #include "rsContext.h" #include <time.h> -using namespace android; -using namespace android::renderscript; +namespace android { +namespace renderscript { Script::Script(Context *rsc) : ObjectBase(rsc) { memset(&mEnviroment, 0, sizeof(mEnviroment)); @@ -146,9 +146,6 @@ RsA3DClassID ScriptFieldID::getClassId() const { } -namespace android { -namespace renderscript { - RsScriptKernelID rsi_ScriptKernelIDCreate(Context *rsc, RsScript vs, int slot, int sig) { ScriptKernelID *kid = new ScriptKernelID(rsc, (Script *)vs, slot, sig); kid->incUserRef(); @@ -296,5 +293,5 @@ void rsi_ScriptSetVarVE(Context *rsc, RsScript vs, uint32_t slot, s->setVar(slot, data, len, e, dims, dimLen); } -} -} +} // namespace renderscript +} // namespace android |