I noticed that activating shadows in GLSL mode was really slow, but not in ARB mode. On further examination, the culprit turned out to be terrain shadows, and specifically the following GL calls.
Removing them does nothing but makes the renering much faster.
Profiling seems to suggest that the renderer does not use hardware acceleration on SVN.