ecore_wl2: Filter buffer types by compositor capabilities
authorDerek Foreman <derekf@osg.samsung.com>
Tue, 14 Nov 2017 21:45:39 +0000 (15:45 -0600)
committerDerek Foreman <derekf@osg.samsung.com>
Wed, 15 Nov 2017 17:54:37 +0000 (11:54 -0600)
commit04cebba6231e737457a36a81c643439c43571724
tree2fef3655607211ce6fc44965f10b0c45df6ae19b
parent579b6d69b305a89657d06760c5374e4d61159e93
ecore_wl2: Filter buffer types by compositor capabilities

It does us no good to be able to allocate dmabuf capable memory if the
compositor can't handle it.  This should fix failures on systems where
allocation is possible but the compositor doesn't advertise dmabuf.
src/lib/ecore_wl2/Ecore_Wl2.h
src/lib/ecore_wl2/ecore_wl2_buffer.c
src/modules/evas/engines/wayland_shm/evas_dmabuf.c