diff options
author | Filip Gruszczynski <gruszczy@google.com> | 2016-01-18 13:20:58 -0800 |
---|---|---|
committer | Filip Gruszczynski <gruszczy@google.com> | 2016-01-19 16:54:38 -0800 |
commit | 64b6b448694de6d65b8748c396e99dd83d216b1a (patch) | |
tree | ced138bab712450e85fea6b395d762e6ee253a8f /rs/java/android/renderscript/Script.java | |
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
Diffstat (limited to 'rs/java/android/renderscript/Script.java')
0 files changed, 0 insertions, 0 deletions