Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Question about how MindFusion paints... (Read 1147 times)
consolejoker
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 74
Joined: Dec 17th, 2007
Question about how MindFusion paints...
May 7th, 2008 at 12:53pm
Print Post  
I noticed that no matter how much I force re-paints in my diagram canvas, there seems to be no kernel CPU time being used. Typically whenever you do a lot of drawing through GDI, you are going to have to move between user mode and kernel mode, since GDI sits within Ring 0. What is the code doing to avoid this?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Question about how MindFusion paints...
Reply #1 - May 7th, 2008 at 6:31pm
Print Post  
How exactly are you force repainting the canvas? I don't think the control code does anything unusual, apart from caching the rendered items in a back-buffer bitmap, and copying the bitmap to the screen when the diagram contents should be rendered.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint