gl-drm: revise page flip logic
authorDerek Foreman <derekf@osg.samsung.com>
Fri, 22 Jan 2016 20:50:47 +0000 (14:50 -0600)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Thu, 18 Feb 2016 20:50:15 +0000 (15:50 -0500)
commit6e1c7065d7578221efccf70772cfb3fde643eb64
treef0381e35229be9dd382db8d91016ca66afa7df28
parentf10b3f79a20f767924870c814e12303866525ccd
gl-drm: revise page flip logic

We can't really drive this buffer unlocking from the page flip handler for
a lot of ugly reasons.  This will be better in the future when evas
supports multiple target buffers.  For now let's cut this down and keep
2 buffers locked at all times.

This gets drm-gl to work without massive tearing artifacts.

@fix
src/modules/evas/engines/gl_drm/evas_outbuf.c