Optimize out unncessary OpenGL state queries
- Adds a new method to retrieve the size of allocation of an OpenGL buffer object
- Avoids calling
glGetError
in hardware selector pass when VTK is configured not to report OpenGL errors. - Follows tips from emscripten-Optimizing-WebGL
Edited by Jaswant Panchumarti (Kitware)