summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsContext.cpp
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-05-28 18:23:22 -0700
committerJason Sams <rjsams@android.com>2010-05-28 18:23:22 -0700
commitf17bccc9050498f51a32a2ee78f5d5a306008e3d (patch)
treed77d5bdaf502bdd34af96732258ed73acd506f2a /libs/rs/rsContext.cpp
parent3255823de062e981f7bfc7994919207988697e45 (diff)
downloadframeworks_base-f17bccc9050498f51a32a2ee78f5d5a306008e3d.zip
frameworks_base-f17bccc9050498f51a32a2ee78f5d5a306008e3d.tar.gz
frameworks_base-f17bccc9050498f51a32a2ee78f5d5a306008e3d.tar.bz2
Rough implemetation of ForEach.
Remove launchID from root graphics script. Change-Id: I9f80c0d4df1264f2ee1624a6d7216b9dfdf8502e
Diffstat (limited to 'libs/rs/rsContext.cpp')
-rw-r--r--libs/rs/rsContext.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/rs/rsContext.cpp b/libs/rs/rsContext.cpp
index f99e5f2..449e5dc 100644
--- a/libs/rs/rsContext.cpp
+++ b/libs/rs/rsContext.cpp
@@ -127,14 +127,14 @@ void Context::deinitEGL()
}
-uint32_t Context::runScript(Script *s, uint32_t launchID)
+uint32_t Context::runScript(Script *s)
{
ObjectBaseRef<ProgramFragment> frag(mFragment);
ObjectBaseRef<ProgramVertex> vtx(mVertex);
ObjectBaseRef<ProgramStore> store(mFragmentStore);
ObjectBaseRef<ProgramRaster> raster(mRaster);
- uint32_t ret = s->run(this, launchID);
+ uint32_t ret = s->run(this);
mFragment.set(frag);
mVertex.set(vtx);
@@ -157,7 +157,7 @@ uint32_t Context::runRootScript()
timerSet(RS_TIMER_SCRIPT);
mStateFragmentStore.mLast.clear();
- uint32_t ret = runScript(mRootScript.get(), 0);
+ uint32_t ret = runScript(mRootScript.get());
checkError("runRootScript");
if (mError != RS_ERROR_NONE) {