[Mesa-dev] [PATCH 14/26] mesa: Connect the generated GL command marshalling code to the build.

gregory hainaut gregory.hainaut at gmail.com
Sun Feb 12 09:35:43 UTC 2017


> >> >  void
> >> >  _mesa_glthread_init(struct gl_context *ctx)
> >> >  {
> >> >     struct glthread_state *glthread = calloc(1, sizeof(*glthread));
> >> >
> >> >     if (!glthread)
> >> >        return;
> >> >
> >> > +   /* The marshalling dispatch table isn't integrated with the
> >> > Begin/End
> >> > +    * dispatch table for desktop OpenGL, and the drawing functions
> >> > are
> >> > +    * synchronous to support user vertex arrays on everything but
> >> > GL core
> >> > +    * (even GLES 2/3) anyway, which means you'll end up with too
> >> > much overhead
> >> > +    * from threading.
> >> > +    */
> >> > +   if (ctx->API != API_OPENGL_CORE)
> >> > +      return;
> >>
> >> Leaking glthread ?
> >>
> > This is odd, the version I have locally which I rebased from Marek's
> > git repo frees glthread.
> >
> > Marek, what's happened here?  Are these patches different from the ones
> > in your git repo?
> 
> No, they are the same. Maybe you fixed it locally?
> 
> Marek

The code was removed patch 24.


More information about the mesa-dev mailing list