Thanks for the response.
We have tried out your code and ran into the same tearing problem.
Strangely, it only happens if you use a larger DXDraw window.
Try to enlarge your DXDraw surface to about 700 by 700 pixels, use a much larger picture (like 3000x2000) and you will see.

Is this a DelphiX bug?