diff options
author | Romain Guy <romainguy@google.com> | 2013-08-16 18:38:29 -0700 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2013-08-16 18:38:29 -0700 |
commit | 46bfc4811094e5b1e3196246e457d4c6b58332ec (patch) | |
tree | 10644c6a2e5dc6714be21a974fb86ce977d5bdf5 /libs/hwui | |
parent | b0a41ed3dcc34a2b4026f6cc8336796f3523aa21 (diff) | |
download | frameworks_base-46bfc4811094e5b1e3196246e457d4c6b58332ec.zip frameworks_base-46bfc4811094e5b1e3196246e457d4c6b58332ec.tar.gz frameworks_base-46bfc4811094e5b1e3196246e457d4c6b58332ec.tar.bz2 |
Fix hardware layers lifecycle
Bug #10075732
Hardware layers could survive across EGL terminate events.
Change-Id: Ie8565d55cb29fe6625fa1584d695edfecd37ab5e
Diffstat (limited to 'libs/hwui')
-rw-r--r-- | libs/hwui/Caches.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/hwui/Caches.cpp b/libs/hwui/Caches.cpp index f9cf9a2..c0b3bfc 100644 --- a/libs/hwui/Caches.cpp +++ b/libs/hwui/Caches.cpp @@ -226,6 +226,8 @@ void Caches::terminate() { patchCache.clear(); + clearGarbage(); + mInitialized = false; } |