Jump to content
  • Advertisement
Sign in to follow this  
Neonailol

DX11 [SlimDX] Newb multithreading question

This topic is 2611 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello community, i'm trying to understand how multithreaded rendering work in dx11, so i started without any threads, just make one deferred context, and try to render triangle with it
the code is here https://gist.github.com/998406
i modifed MiniTri sample for this, what i'm expecting to see is 2 triangles
but it only render immdeiate context, but if i clear screen in deffered context
like [color="#999988"]deferredContext.ClearRenderTargetView(renderView, Color.Tomato);
my screen now in tomato color, but still no triangles
also when i added this deferred context PIX stop working, witch means that i'm doing something terrible wrong

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!