Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I want to know if it is possible to have parallel rendering in DirectX 9.0. I am working on a WPF application which uses DirectX 9.0 for rendering. To make my application more efficient I want to have parallel rendering capability in my application if possible. When I try to render from multiple threads, it gives me an Direct3D exception. Is there any way to do this? Any ideas?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Direct3D9 does not support rendering from more than one thread at once. The best you can do is render from a non-GUI thread.

However, there are operations which can be done outside D3D9, for example, computing world matrices, or copying into vertex buffers, which can be parallelised. However, anything that involves calling into a D3D9 API cannot ever be multi-threaded.

share|improve this answer
1  
Bingo. All the massively parrallel you could ever dream of happens on the video card, not in front of it. –  Patrick Hughes May 21 '12 at 15:33
    
DeadMG, Thanks for reply. –  Vibhore Tanwer May 22 '12 at 12:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.