commit | 09b7c91de73b59aa3f679b3ae3ba299f82ec9f8a | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Wed Feb 02 20:28:09 2011 -0800 |
committer | Romain Guy <romainguy@google.com> | Wed Feb 02 20:28:09 2011 -0800 |
tree | 9eb49f2fedb60e6df37b54216ed20f054a6f55fd | |
parent | 62687ec12cb8e0b1d4044a235b1387b9a8c3b4b4 [diff] |
Allocate layers from the layers pool. Bug #3413433 This change will be beneficial to Launcher to avoid hiccups when swiping pages of icons. When a layer is discarded, it is kept in the layers pool instead of being destroyed right away. This favors memory reuse over allocations. Change-Id: Ifb6944ba83d6ceb67c331527c0827b26ce648eb1