Update the openGL  lua binding and related test case