diff options
author | Jason Sams <jsams@google.com> | 2013-03-06 18:09:08 -0800 |
---|---|---|
committer | Jason Sams <jsams@google.com> | 2013-03-06 18:09:08 -0800 |
commit | cadfac411e6690e39de36c4f9e94deb9b7d2d08e (patch) | |
tree | a90c59b83250bf4c1aa18227c790337aadad79e8 /cpu_ref/rsCpuScript.cpp | |
parent | d533c4c66510f2b83b9397607756479d79baae10 (diff) | |
download | android_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.cpp | 21 |
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); |