EGL_MESA_choose_display version 1

Jon Smirl jonsmirl at gmail.com
Wed Jun 15 12:38:27 PDT 2005


On 6/15/05, Adam Jackson <ajax at nwnk.net> wrote:
> If we're doing one screen per display then why do we even have this call and
> why did you fight so hard [1] to make screen handles opaque and dynamic?  If
> you do one EGLDisplay per screen then *num_screens will always be 1, won't
> it?

The opaque handles were because every other handle in the API was
opaque, why should screens be different? Who knows what kind of screen
model people building things like SLI are going to come up.

Dynamic is because of monitor hotplug. We don't separate the concept
of screen and monitor so a hotplug makes the screen disappear.

Neither of these have anything to do with implementing 1:1
display:screen in a driver. The monitor can still get hotplugged in
that case too.

-- 
Jon Smirl
jonsmirl at gmail.com


More information about the dri-egl mailing list