ecore_drm2: make flip to NULL buffer mean something
authorDerek Foreman <derekf@osg.samsung.com>
Thu, 8 Sep 2016 03:13:34 +0000 (22:13 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Thu, 8 Sep 2016 18:55:24 +0000 (13:55 -0500)
commit3be2630a3050dab9f73a181324813bda727ed0fd
tree5dac70ccebb25e54ec3e342af876692416b6e349
parent95a00b8e496839c4976259692fb7c308f7a850dc
ecore_drm2: make flip to NULL buffer mean something

When triple buffering we'll have a buffer in ecore_drm2's "next" position.
Until now we've had to query it from the engine then try to re post it.

Also, when generating ticks we need to flip to the current buffer when no
changes have been made to get another callback.

Now a NULL fb to fb_flip will either flip to next, if available, or current
if there's nothing new to flip to.
src/lib/ecore_drm2/ecore_drm2_fb.c