|
-
October 30th, 2009, 11:02 AM
#1
GDI+ (Graphics class) and multi-core
Hi everyone,
I posted this in the "Graphics Programming" forum...
I wrote a C# application (VS2005) that takes a bunch of images and resize them. Now that I have a quad core, I rewrote it to use threads. Each thread load an image and resize it. After many attempts, I can't get the CPU to work over 25%-29% and that means that only 1 core is used. It seems the bottleneck is the DrawImage() method. It looks like this method only handle 1 thread at a time. Is it possible that DrawImage() uses a lock?
Thx in advance for any hints!
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
|