> >> > 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. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev