Henri Verbeet : wined3d: Introduce surface_init() to handle most of the surface initialization.