summaryrefslogtreecommitdiffstats
path: root/libs/binder/MemoryHeapPmem.cpp
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-01-25 19:00:00 -0800
committerMathias Agopian <mathias@google.com>2010-01-29 14:51:06 -0800
commit6faf7893b6307a3295993380d61af49f2cda965c (patch)
tree0b96c41270e160fbafb2956f8a91ec3ef1772b67 /libs/binder/MemoryHeapPmem.cpp
parentbf124e7e41f7850ac1b7be808221a462db6f3447 (diff)
downloadframeworks_base-6faf7893b6307a3295993380d61af49f2cda965c.zip
frameworks_base-6faf7893b6307a3295993380d61af49f2cda965c.tar.gz
frameworks_base-6faf7893b6307a3295993380d61af49f2cda965c.tar.bz2
Simplify the MemoryDealer implementation
At some point the implementation became complicated because of SurfaceFlinger's special needs, since we are now relying on gralloc we can go back to much simpler MemoryDealer. Removed HeapInterface and AllocatorInterface, since those don't need to be paramterized anymore. Merged SimpleMemory and Allocation. Made SimplisticAllocator non virtual. Removed MemoryDealer flags (READ_ONLY, PAGE_ALIGNED) Removed a lot of unneeded code.
Diffstat (limited to 'libs/binder/MemoryHeapPmem.cpp')
-rw-r--r--libs/binder/MemoryHeapPmem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/MemoryHeapPmem.cpp b/libs/binder/MemoryHeapPmem.cpp
index c660947..16e92f9 100644
--- a/libs/binder/MemoryHeapPmem.cpp
+++ b/libs/binder/MemoryHeapPmem.cpp
@@ -127,7 +127,7 @@ void SubRegionMemory::revoke()
MemoryHeapPmem::MemoryHeapPmem(const sp<MemoryHeapBase>& pmemHeap,
uint32_t flags)
- : HeapInterface(), MemoryHeapBase()
+ : MemoryHeapBase()
{
char const * const device = pmemHeap->getDevice();
#if HAVE_ANDROID_OS