summaryrefslogtreecommitdiff
path: root/rsScriptC_Lib.cpp
diff options
context:
space:
mode:
authorJason Sams <jsams@google.com>2012-07-25 17:55:39 -0700
committerJason Sams <jsams@google.com>2012-07-25 17:55:39 -0700
commit807fdc4b6f3fb893015ee136565d6151bb2332d3 (patch)
treea9e5791d67e07f407f135b332586518678aae4f9 /rsScriptC_Lib.cpp
parente3150cfb3edb028407669e4a65e087eae77e718c (diff)
downloadrs-807fdc4b6f3fb893015ee136565d6151bb2332d3.tar.gz
Move memory layout to driver.
This change moves all allocation data copies to the hal. Also removes stride from the runtime. Follow on changes will remove the malloc pointer from the runtime. Change-Id: I30967c739800cd4b97186e9fc8b69f26a3f2787d
Diffstat (limited to 'rsScriptC_Lib.cpp')
-rw-r--r--rsScriptC_Lib.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/rsScriptC_Lib.cpp b/rsScriptC_Lib.cpp
index 749495d1..ac3dd125 100644
--- a/rsScriptC_Lib.cpp
+++ b/rsScriptC_Lib.cpp
@@ -188,10 +188,6 @@ void rsrAllocationCopy2DRange(Context *rsc, Allocation *dstAlloc,
srcAlloc, srcXoff, srcYoff, srcMip, srcFace);
}
-const Allocation * rsrGetAllocation(Context *rsc, Script *s, const void *ptr) {
- ScriptC *sc = (ScriptC *)s;
- return sc->ptrToAllocation(ptr);
-}
}
}