OSDN Git Service

Remove previous_layers_ in DisplayQueue.
authorKalyan Kondapally <kalyan.kondapally@intel.com>
Mon, 19 Jun 2017 02:52:12 +0000 (19:52 -0700)
committerKalyan Kondapally <kalyan.kondapally@intel.com>
Mon, 19 Jun 2017 02:53:58 +0000 (19:53 -0700)
commit8969f965d241b1e496849747484e1690979250b0
treee6d88bb3f6d4fc5b388f0b47cd9807ac30a0b94c
parentc6833dd1875e4ff209bee51808e781da4b423238
Remove previous_layers_ in DisplayQueue.

DisplayQueue in Android can discard old buffers any time, we where
seeing lot of errors while closing handles in our side in this case.
Let's only hold on to the current buffers on screen and the new
ones being scanned out.

Jira: None.
Test: Errors related to "Failed to close gem handle -1" are minimised.
Signed-off-by: Kalyan Kondapally <kalyan.kondapally@intel.com>
common/display/displayqueue.cpp
common/display/displayqueue.h