ecore_drm2: refcount fbs
authorDerek Foreman <derekf@osg.samsung.com>
Fri, 12 May 2017 19:41:03 +0000 (14:41 -0500)
committerDerek Foreman <derekf@osg.samsung.com>
Fri, 12 May 2017 22:51:34 +0000 (17:51 -0500)
commitedcbff59b72ef8b26af99c1cb3c38f4ffb48282a
tree3715fc4cdd8906b55969edf4214fdc3f1e7da9d6
parent69b941f018a5e289f4eb34adcfdc774c0d9a2409
ecore_drm2: refcount fbs

Removes the previous "busy" flag, as now we might have an fb attached to
multiple outputs at once, and need to be careful to destroy them only
after they've been removed from all outputs.

Removed the old "busy_set" API which nothing used, and renames fb_destroy
to fb_discard to make it more clear that it's not immediately destroyed.

It's all beta api, so I can do this.
src/lib/ecore_drm2/Ecore_Drm2.h
src/lib/ecore_drm2/ecore_drm2_fb.c
src/lib/ecore_drm2/ecore_drm2_plane.c
src/lib/ecore_drm2/ecore_drm2_private.h
src/modules/evas/engines/drm/evas_outbuf.c
src/modules/evas/engines/gl_drm/evas_outbuf.c