Add e_pixmap API for testing if a pixmap is a native surface

Desktop / Enlightenment / Enlightenment - Derek Foreman [osg.samsung.com] - 18 May 2016 12:05 UTC

DMAbuf for wayland will complicate determining whether a pixmap can use a native surface or not, so we add an API here to check this.

Note that this doesn't take compositor capabilities into account - for example, X pixmaps need GL enabled to use native surfaces. This is already tested elsewhere.

1774b59 Add e_pixmap API for testing if a pixmap is a native surface
src/bin/e_pixmap.c | 16 ++++++++++++++++
src/bin/e_pixmap.h | 1 +
2 files changed, 17 insertions(+)

Upstream: git.enlightenment.org


  • Share