render frame with opengles2