[Mesa-dev] [Patch 1/4] Improve wayland-drm basing on gbm to act as generic buffer manager for wayland

Zhao, Halley halley.zhao at intel.com
Thu Apr 19 03:14:32 PDT 2012


(resend, the patch is blocked since it is big)

Hi bnf/krh:
EGL implements wayland-drm protocol, however, it hasn't been used by vappi yet since EGL doesn't export wl_drm(you think it is bad style).
After some thought, I improve wayland-drm to base on gbm instead.
The module name can change to wayland-gbm as well, gbm is platform independent, do you think it's ok to export wl_gbm through libEGL?

Todo: change file names from *_drm* to *_gbm*
Additional proposal: could we move wayland-drm.xml from mesa/egl to Weston? I think Weston is the better place to define protocol, while egl is one backend to implement it.

First half of patch 1 since it is a little big
This patch is just term change from drm to gbm in source files.



More information about the mesa-dev mailing list