On 10/08/2013 12:48 AM, [email protected] wrote:
This is a prerequisite for the Mir EGL platform, which I'm sure everyone is
excited about.

It's also necessary for Wayland hybrid graphics support.
Sorry for replying this late, I just started looking at this patch series.

I saw an earlier discussion about how to tell whether a driver supports fd sharing, and that boiled down to the state tracker querying the winsys, or rather the bootstrapper directly for that support.

There actually is an API for this, the drm driver descriptor. Please have a look at state_tracker/drm_driver.h and how DRM_CONF_THROTTLE is handled in the target code and in the dri state tracker.

It would be possible to add a DRM_CONF_SHARE_FD (or similar) enum to indicate support for this sharing type, if you want to expose support for DRI_IMAGE V7 on a per driver basis.

/Thomas



_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to