egl driver for glitz

David Reveman davidr at novell.com
Mon May 16 01:07:40 PDT 2005


On Sun, 2005-05-15 at 22:38 -0400, Jon Smirl wrote: 
> On 5/15/05, Brian Paul <brian.paul at tungstengraphics.com> wrote:
> > Jon Smirl wrote:
> > > On 5/15/05, Adam Jackson <ajax at nwnk.net> wrote:
> > >
> > >>On Saturday 14 May 2005 01:21, Jon Smirl wrote:
> > >>
> > >>>I copied the glitz GLX driver and I'm making an egl version of it. I'm
> > >>>down to about 10 compilation errors. Let me know if anyone else is
> > >>>working on this.
> > >>>
> > >>>I may be stuck without an eglCopyContextMESA() function.
> > >>
> > >>I had started on this a while back.  I don't remember needing CopyContext, but
> > >>I may not have gotten that far yet.  Could you explain the problem?
> > >
> > >
> > > Glitz is using it, the driver exposes it to the upper layers.
> > 
> > OK, ignore my previous reply.
> > 
> > If you look at fakeglx.c you'll see that CopyContext is really easy to
> > implement.  Basically just call the _mesa_copy_context() routine.
> > 
> > If we add eglCopyContext(), we should define a new EGL extension to
> > formalize it.
> 
> I haven't tracked down who uses CopyContext yet. Glitz exposes it in
> it's top level API so Cairo must be using it. Not supporting it may
> mean that we have to change the exposed Cairo API. It would probably
> be simpler just to implement it.

We only need eglCopyContext for the glXCopyContext implementation in Xgl
GLX. No application except Xgl with indirect GLX uses this, just leave
it as a NoOp for now. Only the applications that use glXCopyContext on
top of Xgl will break...

-David



More information about the dri-egl mailing list