[Mesa-dev] Drooping multiple driver support in EGL?
jfonseca at vmware.com
Fri Dec 23 07:20:03 PST 2011
----- Original Message -----
> Hi list,
> Multiple driver support in EGL is hard to get right, if not
> On Linux desktop, we almost always want to use egl_dri2. It allows
> to loads DRI2 drivers, thus allowing it to share DRI2 drivers with
> In one case where the app wants to use OpenVG, libEGL needs to load
> egl_gallium instead. The problem comes from that we cannot know that
> OpenVG context is to be created until it is created. But before a
> context can be created, EGL needs to be initialized and an EGLConfig
> needs to be chosen. So when EGL is to be initialized, we need to
> and initilaize all EGL drivers. When an EGLConfig is to be picked,
> need to pick it from all drivers.
Couldn't we restructure this such that OpenVG (and all other state trackers on Linux) still use a dri2 driver, but one which exposes an additional (gallium specific) interface?
More information about the mesa-dev