replace old conversion with OpenGL based conversion