Update the OpenGL lua binding and related test case