diff options
author | Keun-young Park <keunyoung@google.com> | 2014-07-14 19:10:50 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-07-14 16:03:19 +0000 |
commit | 75fe91ab98439c60d8e1e8209108b3938ab67562 (patch) | |
tree | 3f476f0ccbb278ec0789c4077f4ed33bcbe67a1c | |
parent | e382f47b37f93db7854d5681d91540e9af43932d (diff) | |
parent | caf25cf58f45c3c2039de16d37242deab0e45c57 (diff) | |
download | cts-75fe91ab98439c60d8e1e8209108b3938ab67562.tar.gz |
Merge "improve TestVirtualDisplayRecycles to reduce memory usage"
-rw-r--r-- | tests/tests/media/src/android/media/cts/EncodeVirtualDisplayWithCompositionTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tests/media/src/android/media/cts/EncodeVirtualDisplayWithCompositionTest.java b/tests/tests/media/src/android/media/cts/EncodeVirtualDisplayWithCompositionTest.java index 826fa39d991..da0b6b1c637 100644 --- a/tests/tests/media/src/android/media/cts/EncodeVirtualDisplayWithCompositionTest.java +++ b/tests/tests/media/src/android/media/cts/EncodeVirtualDisplayWithCompositionTest.java @@ -643,6 +643,7 @@ public class EncodeVirtualDisplayWithCompositionTest extends AndroidTestCase { } catch (InterruptedException e) { // don't care } + cleanupGl(); mCompositionThread = null; mSurface = null; mStartCompletionSemaphore = null; @@ -947,6 +948,7 @@ public class EncodeVirtualDisplayWithCompositionTest extends AndroidTestCase { public void cleanup() { mNumTextureUpdated.set(0); + mVerticesData.clear(); if (mTextureId != 0) { int[] textures = new int[] { mTextureId |