Move the wl_buffer from xwl_window to xwl_pixmap

This change enables to change the window pixmap, and have
xwayland send the correct buffer to the Wayland compositor.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Add a commit in SetWindowPixmap to send right away the new pixmap
buffer to the server.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Add support to render-nodes.

And allows to create wl_buffers from fds instead of gem names.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Add function to get new fd of the graphic device

neccessary for dri3

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Add XWayland API with Present support in mind.

The API enables to use the frame event and the buffer event.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Implements xwl_get_visible_parent_window.
This function is needed to get the parent window
that the wayland compositors sees.

If no parent window is seen by the wayland compositor
(unmapped, or root window is not in the parents, etc),
then the function returns NULL.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Initial Present Wayland support

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Update configure and Makefile to support Present XWayland

Signed-off-by: Axel Davy <axel.davy@ens.fr>