commit | 04a935162c0af649987108058f81405930408014 | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Mon May 02 13:24:40 2016 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Mon May 02 15:20:31 2016 -0700 |
tree | 910211a3996b8373343e84c201b86b60f3a42197 | |
parent | beb3d2990b2b480d06f465a8df4a6509ec4e098b [diff] |
ImageReader/Writer: Only register 1 buffer for native allocation Registering with the maximum potential memory made by visible by an ImageReader/Writer can cause the VM to try to heavily garbage-collect the rest of the application. This can have significant impact on camera applications, since they often have large ImageReader/Writer queues. Bug: 28454727 Change-Id: I2ba43635f93da66655be024165a15631b3b421d3