commit | 64b6b448694de6d65b8748c396e99dd83d216b1a | [log] [tgz] |
---|---|---|
author | Filip Gruszczynski <gruszczy@google.com> | Mon Jan 18 13:20:58 2016 -0800 |
committer | Filip Gruszczynski <gruszczy@google.com> | Tue Jan 19 16:54:38 2016 -0800 |
tree | ced138bab712450e85fea6b395d762e6ee253a8f | |
parent | e501c39e2cbfbe4cac473e97f8cae55ace3bb48c [diff] |
Create dim layer surfaces only when they are necessary. Instead of creating the surfaces for dim layers the moment when the dim layer is constructed, we can save memory until the dim layer is actually used and allocate the surface then. Change-Id: Iedd717d198faf2df3ff39a41537ec0e1018c7ca9