[PATCH 1/5] wined3d: Make the adapter responsible for texture creation and destruction.