summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/Script.java
diff options
context:
space:
mode:
authorFilip Gruszczynski <gruszczy@google.com>2016-01-18 13:20:58 -0800
committerFilip Gruszczynski <gruszczy@google.com>2016-01-19 16:54:38 -0800
commit64b6b448694de6d65b8748c396e99dd83d216b1a (patch)
treeced138bab712450e85fea6b395d762e6ee253a8f /rs/java/android/renderscript/Script.java
parente501c39e2cbfbe4cac473e97f8cae55ace3bb48c (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