Genarlize instances
Generalize benchmark
Merge branch 'master' into opengl