Skip to content

some performance improvements for the OpenGL2 shader

Ken Martin requested to merge ken-martin/vtk:faster_shaders into master

There were lost of std::string operations that resulted in lots of memory allocs/deallocs. This patch significantly reduces them. In my testing of vtkCompositePolyDataMapper2 these changes improved the frame rate from 75 fps up to 400 fps.

Merge request reports