EGL_MESA_screen_surface version 5
Adam Jackson
ajax at nwnk.net
Thu Apr 7 08:58:51 PDT 2005
On Thursday 07 April 2005 11:45, Jon Smirl wrote:
> On Apr 7, 2005 11:05 AM, Adam Jackson <ajax at nwnk.net> wrote:
> > HAL events are generally multicast over DBUS to any interested listening
> > application. The driver could in principle open a new fd for this, but
> > it would be more straightforward for us if the event were also noted in
> > the sarea.
>
> Doesn't this have to be processed at the highest level?
Eventually, sure.
> We can't change the format of the framebuffer without letting the app
> drawing the desktop know.
I wasn't proposing that we do so.
> Instead the app drawing the desktop catches the
> event, picks a new format and sets it into EGL.
That's perfectly acceptable, if you have HAL and DBUS.
Now imagine a world without DBUS:
- kernel driver notices hardware switch
- kernel driver flips bit in shared state indicating old screen surface is
invalid
- userspace driver is asked to draw something, fails due to previous bit
- application notices EGL_SCREEN_LOST_MESA and reconfigures
The notification percolates up the stack just fine. This is useful to expose
through the EGL API directly, because EGL is more than just linux-solo
systems.
- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dri-egl/attachments/20050407/810cbfde/attachment.pgp
More information about the dri-egl
mailing list