egl driver for glitz

Jon Smirl jonsmirl at gmail.com
Sun May 15 19:38:03 PDT 2005


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.


-- 
Jon Smirl
jonsmirl at gmail.com


More information about the dri-egl mailing list