From d79b2e9f8b0fa43f6734aaa5e9d0d389d5da5109 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Wed, 19 May 2010 17:22:57 -0700 Subject: Begin naming cleanup for renderscript runtime. Prefix functions with "rs" or "rsg". Change-Id: I4435b486831bfab1ea473ccfad435b404e68f1c9 --- libs/rs/rsScript.cpp | 88 ++-------------------------------------------------- 1 file changed, 3 insertions(+), 85 deletions(-) (limited to 'libs/rs/rsScript.cpp') diff --git a/libs/rs/rsScript.cpp b/libs/rs/rsScript.cpp index b0bbb22a95a7..fc22fc3f39f7 100644 --- a/libs/rs/rsScript.cpp +++ b/libs/rs/rsScript.cpp @@ -24,12 +24,6 @@ Script::Script(Context *rsc) : ObjectBase(rsc) mAllocFile = __FILE__; mAllocLine = __LINE__; memset(&mEnviroment, 0, sizeof(mEnviroment)); - mEnviroment.mClearColor[0] = 0; - mEnviroment.mClearColor[1] = 0; - mEnviroment.mClearColor[2] = 0; - mEnviroment.mClearColor[3] = 1; - mEnviroment.mClearDepth = 1; - mEnviroment.mClearStencil = 0; } Script::~Script() @@ -61,33 +55,12 @@ void rsi_ScriptBindAllocation(Context * rsc, RsScript vs, RsAllocation va, uint3 //LOGE("rsi_ScriptBindAllocation %i %p %p", slot, a, a->getPtr()); } -void rsi_ScriptSetClearColor(Context * rsc, RsScript vs, float r, float g, float b, float a) -{ - Script *s = static_cast