Nikolay Sivov : d2d1: Move mesh creation to mesh.c.