I noticed that I get a hefty FPS drop as I zoom into an unit or a building that is under construction. While I normally may have an FPS of 150-200 with luaui and luarules enabled, it goes down to 30-60 when my whole screen is filled by the building project and especially when the one-color texture starts to fill the wireframe mesh.
When I disable luaui and luarules, framerate does get a considerable increase, but the ratio of FPS difference between zoomed in and zoomed out remains roughly the same - that is, from 3 to 5.
Putting /debug on, I noticed that the time spent in SwapBuffers gets a considerable increase. I'm unsure how relevant this is, though, since in an reproduction of the issue by one other person, SwapBuffers staid lowish.
I'm using Spring 0.95 and running Linux with nVidia GTX 650. Drivers I use are the latest stable nVidia propiertary drivers.
If I were to throw a guess, I'd imagine the culptrit to be a heavy fragment shader.
EDIT: I was going to be proactive and go have a glance at the fragment shader. But quite frankly, I can't figure out which it is, and wouldn't know if I can replace individual shaders in the installation without compiling whole thing from source..
