ee_drm: Improve next buffer selection algorithm
authorDerek Foreman <derekf@osg.samsung.com>
Thu, 8 Sep 2016 02:25:32 +0000 (21:25 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Thu, 8 Sep 2016 18:55:24 +0000 (13:55 -0500)
commit79409757c6493738c21015708a1ba5178942ad94
tree5322e272501dd2e5d9e82e8e28c21837780b45f4
parent5eec34812efa5b73ed18d71871e87a997928d214
ee_drm: Improve next buffer selection algorithm

When triple buffering it's possible that we'll only need two buffers at
a time for long durations.  When we finally call upon a third buffer it
hasn't been used recently enough to do a partial redraw.

By picking the oldest available buffer when multiple buffers are free we
can increase the likelihood of doing partial redraws.
src/modules/evas/engines/drm/evas_outbuf.c