diff options
author | Shalaj Jain <shalajj@codeaurora.org> | 2016-01-25 13:20:10 -0800 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-03-08 22:38:20 -0800 |
commit | 2fd815ffc3cac5655d0809bf762400e452734114 (patch) | |
tree | 033bc0d41ba12426e2f7f122c167414a478b69ef /services/camera/libcameraservice/CameraService.h | |
parent | c3902bb77957a98082d03ec1cf8ff938495a674a (diff) | |
download | frameworks_av-2fd815ffc3cac5655d0809bf762400e452734114.zip frameworks_av-2fd815ffc3cac5655d0809bf762400e452734114.tar.gz frameworks_av-2fd815ffc3cac5655d0809bf762400e452734114.tar.bz2 |
stagefright: Clear RenderQueue on port settings changed
Clear the RenderTracker RenderQueue before allocating new set of
buffers during port settings change. The graphicBuffers inside
the RenderQueue hold the actual buffer references which prevents
them from being freed until this queue is cleared.
Do not wait till executing state to clear the queue as then
overall memory consumption goes up for the brief period.
CRs-Fixed: 972394
Change-Id: If50ffc2d517f793a59c88d3fb213bf4c23b8c9f7
Diffstat (limited to 'services/camera/libcameraservice/CameraService.h')
0 files changed, 0 insertions, 0 deletions