[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
Sun Apr 22 17:47:50 PDT 2012


Hi Benjamin/Kristian:
Sorry to push, but vaapi/wayland integration is blocked by wayland-drm for months.
Could you give us some comments on this new proposal by using gbm?

Thanks.



From: Zhao, Halley
Sent: Thursday, April 19, 2012 6:15 PM
To: Zhao, Halley; 'Benjamin Franzke'; 'Kristian H?gsberg'
Cc: Fu, Michael; Zou, Nanhai; mesa-dev at lists.freedesktop.org
Subject: [Patch 1/4] Improve wayland-drm basing on gbm to act as generic buffer manager for wayland

(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