• Ken Martin's avatar
    some performance improvements for the OpenGL2 shader · e9ed1848
    Ken Martin authored
    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.
vtkShaderProgram.cxx 23.2 KB