|
-
Nov 30th, 2010, 03:18 AM
#1
Thread Starter
Junior Member
Update WPF window from another Direct2D thread
Hello,
I am still trying to figure things out here. Is it possible to implement the following:
I want to have a separate thread that does all of my Direct2D drawing to a memory bitmap, this will be implemented in a C DLL. On my main UI thread there will be a timer that will display that memory bitmap to a WPF window at 20 to 30 fps.
I have a lot of drawing that needs to be done dynamically and I don't want the main UI blocking on me when someone clicks a menu and the drawing stops. I am very new to WPF but I've tried some stuff with XAML and other approaches and it is too slow. Can this approach be done? Is there a better way? Also, the drawing routine is too much to handle in the timer event.
Thank you.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|