Where possible, symbols have been made static, prefixed with glsl_/GLSL_ or moved into the code shared by all renderers. This will make doing plugins easier but done now for link testing. The moving was done via the gl commit.
QF still leaks about 3MB/run on demo1, but even 100 runs didn't show any render issues.
That was... easy.
For now, only nq-glslx will be built, but as there is no actual code, it doesn't link. However, this gets the glsl stuff into the build system.