summaryrefslogtreecommitdiffstats
path: root/cpu_ref/rsCpuScript.cpp
diff options
context:
space:
mode:
authorJason Sams <jsams@google.com>2013-03-06 18:09:08 -0800
committerJason Sams <jsams@google.com>2013-03-06 18:09:08 -0800
commitcadfac411e6690e39de36c4f9e94deb9b7d2d08e (patch)
treea90c59b83250bf4c1aa18227c790337aadad79e8 /cpu_ref/rsCpuScript.cpp
parentd533c4c66510f2b83b9397607756479d79baae10 (diff)
downloadandroid_frameworks_rs-cadfac411e6690e39de36c4f9e94deb9b7d2d08e.tar.gz
android_frameworks_rs-cadfac411e6690e39de36c4f9e94deb9b7d2d08e.tar.bz2
android_frameworks_rs-cadfac411e6690e39de36c4f9e94deb9b7d2d08e.zip
Sync with compat lib.
Change-Id: Id8ace103814cf126f0d157100d1d4a12cc0b8664
Diffstat (limited to 'cpu_ref/rsCpuScript.cpp')
-rw-r--r--cpu_ref/rsCpuScript.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/cpu_ref/rsCpuScript.cpp b/cpu_ref/rsCpuScript.cpp
index 80f8ea01..356139fb 100644
--- a/cpu_ref/rsCpuScript.cpp
+++ b/cpu_ref/rsCpuScript.cpp
@@ -144,27 +144,6 @@ void RsdCpuScriptImpl::populateScript(Script *script) {
}
}
-/*
-bool rsdInitIntrinsic(const Context *rsc, Script *s, RsScriptIntrinsicID iid, Element *e) {
- pthread_mutex_lock(&rsdgInitMutex);
-
- DrvScript *drv = (DrvScript *)calloc(1, sizeof(DrvScript));
- if (drv == NULL) {
- goto error;
- }
- s->mHal.drv = drv;
- drv->mIntrinsicID = iid;
- drv->mIntrinsicData = rsdIntrinsic_Init(rsc, s, iid, &drv->mIntrinsicFuncs);
- s->mHal.info.isThreadable = true;
-
- pthread_mutex_unlock(&rsdgInitMutex);
- return true;
-
-error:
- pthread_mutex_unlock(&rsdgInitMutex);
- return false;
-}
-*/
typedef void (*rs_t)(const void *, void *, const void *, uint32_t, uint32_t, uint32_t, uint32_t);