[RFC] GLX dispatch rewrite

Adam Jackson ajax at nwnk.net
Mon Oct 28 21:29:01 CET 2013


On Tue, 2013-10-22 at 14:27 -0400, Adam Jackson wrote:
> I'd send this as a patch, but it's like 2M, so I figure that's rude.
> Instead see here:
> 
> http://cgit.freedesktop.org/~ajax/xserver/commit/?h=glx-direct-dispatch&id=918c1e76b1ee837db36283dc8fe513fc588c1e4d
> 
> Basically this rips out the fork of glapi from xserver, and converts the
> glx code to call into libGL directly.  What it _doesn't_ include is
> converting the loaders to EGL.  I still plan to do that at some stage,
> but it turns out they're separable tasks.  I've verified that indirect
> contexts with Xvfb pass exactly as many piglit tests [1] before and
> after this patch (plus my previous memory-leak-fix series, since
> otherwise Xvfb gets oomkilled).

Delightfully, testing this against Xorg (ivybridge, glamor) not only
passes more piglits (1274/1766) than it did before (899/1684), but 13 of
those new passes are tests that previously crashed Xorg.

- ajax



More information about the xorg-devel mailing list