summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/omx
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
commit867d2f6ce668968e463eb86b856d21525f12fd67 (patch)
treecc65f1c037d980841d0f075e2625ac37ac338f28 /media/libstagefright/omx
parentbbe1ed453aa0407237127fb45a30ba8ffd9e0941 (diff)
downloadframeworks_av-867d2f6ce668968e463eb86b856d21525f12fd67.zip
frameworks_av-867d2f6ce668968e463eb86b856d21525f12fd67.tar.gz
frameworks_av-867d2f6ce668968e463eb86b856d21525f12fd67.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 'media/libstagefright/omx')
-rw-r--r--media/libstagefright/omx/tests/OMXHarness.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/omx/tests/OMXHarness.cpp b/media/libstagefright/omx/tests/OMXHarness.cpp
index 6c36163..51fcaf5 100644
--- a/media/libstagefright/omx/tests/OMXHarness.cpp
+++ b/media/libstagefright/omx/tests/OMXHarness.cpp
@@ -286,7 +286,7 @@ status_t Harness::testStateTransitions(
return OK;
}
- sp<MemoryDealer> dealer = new MemoryDealer(8 * 1024 * 1024);
+ sp<MemoryDealer> dealer = new MemoryDealer(8 * 1024 * 1024, "OMXHarness");
IOMX::node_id node;
status_t err =