From 807fdc4b6f3fb893015ee136565d6151bb2332d3 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Wed, 25 Jul 2012 17:55:39 -0700 Subject: 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 --- rsScriptC_Lib.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'rsScriptC_Lib.cpp') 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); -} } } -- cgit v1.2.3