ecore_drm2: Add ecore_drm2_output_fb_release way to force buffer release
authorDerek Foreman <derekf@osg.samsung.com>
Fri, 9 Sep 2016 18:33:15 +0000 (13:33 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Fri, 9 Sep 2016 18:39:05 +0000 (13:39 -0500)
commit21ad56aa32ead4391e44875f4f59b57b1b81cb87
tree1393168a9d01c26c7706d9788d02ff459374c79d
parent30d14779a6ea6c8c3b80c03fff71dc260a97c6f3
ecore_drm2: Add ecore_drm2_output_fb_release way to force buffer release

Adds an api to attempt to release an fb from an output.  This will try
to first free any queued but not display buffers, which may harmlessly
give us a render target.

However, if that fails it will try to get buffers that have been sent to
scanout, which can lead to tearing.
src/lib/ecore_drm2/Ecore_Drm2.h
src/lib/ecore_drm2/ecore_drm2_fb.c