bunch of optimization more to come

Change-Id: Ie6e63c47b03e2aeb8ee1137e0ca333c98b86f651
Merge branch 'opengl2-rendering' of https://github.com/cryos/VTK into opengl2-rendering

Change-Id: If31267bf9b7bbfcdb94e8439162488bc30b675a8