These helper functions were marked DEPRECATED since they use old OpenGL calls. Now they are marked GONE! Part of T49043