commit | caf25cf58f45c3c2039de16d37242deab0e45c57 | [log] [tgz] |
---|---|---|
author | Harry Hong <harryhong77@gmail.com> | Wed Jul 02 17:46:36 2014 +0900 |
committer | Harry Hong <harryhong77@gmail.com> | Wed Jul 02 18:09:07 2014 +0900 |
tree | aecccb9bfb60eb4b19607508e71f0dee9acc649f | |
parent | b31d50001d047ec11a4282f6c7e654124473d8c4 [diff] |
improve TestVirtualDisplayRecycles to reduce memory usage TestVirtualDisplayRecycles allocates lots of memory. in low memory system, this test get failed because android.media.cts process died by low-memory killer easily. To prevent low memory case during test, - clear the allocated buffer for dalvik to get more chance to do GC at window cleanup - call cleanupGl() at stopComposition Change-Id: I1c118ceba9dfe29a84bd9edad43eac21ba50a92b Signed-off-by: Harry Hong <hhong@nvidia.com>