Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

GDI+ and Multithreading

$
0
0

Does anyone know the guts of GDI+ enough to know why certain independent GDI+ operations are unable to execute in parallel, such as:

 

Thread1

Graphics.FillRectangle

 

Thread2

Graphics.FillRectangle

 

The graphics object can be retrieved on a worker thread by Graphics.FromImage, and two different threads can be working with different images.

 

Any thoughts?

 

EDIT: This question may actually be better off in the Visual C# forum since Graphics is in the System.Drawing namespace.


Viewing all articles
Browse latest Browse all 12583

Trending Articles