w0rm opened this issue 5 years ago · 0 comments
It seems that gl.getProgramParameter, gl.getActiveAttrib, gl.getAttribLocation can be cached for each program and not called for each draw.
gl.getProgramParameter
gl.getActiveAttrib
gl.getAttribLocation
This could improve the performance a little bit.