diff options
author | 2017-06-13 17:09:11 -0700 | |
---|---|---|
committer | 2017-06-13 17:09:11 -0700 | |
commit | c6ff79830b9126f948791f03164a58ad079e9e5d (patch) | |
tree | a303749034c3b6ffb35b11f1f6907bfe668bc2c2 /libs/gui/SurfaceControl.cpp | |
parent | 2672decb92fa24ef012cbbd3690c120530fa3cd3 (diff) |
ConsumerBase: discardFreeBuffers() also needs to dump its own cache
ConsumerBase has its own cached slots with graphic buffer references,
so it's not enough to just ask the buffer queue consumer to free
buffers.
Add code equivalent to what happens in the onBuffersReleased callback.
Test:
Bug: 62593139
Change-Id: Ibc1444b868c6150aa2da1c209e06bdba42f1595d
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions