[D3D] Xvidmode and surface locking