d3d9 renderer upload