|
-
Apr 1st, 2014, 08:03 AM
#24
Re: [RESOLVED] JPEG Decoding Faster using GDI+?
 Originally Posted by Niya
With regards to performance, I'd recommend using GDI over GDI+ if performance is critical. I recently did a test which showed that GDI performs much faster than GDI+. You can check it out here. The test project is a VB.Net project but I wager at least some of you dabble in VB.Net so you would be able to play with it yourself. GDI+ is the default graphics API in VB.Net.
Thanks for the link, Niya. I think this MSDN article confirms your results:
Comparing Direct2D and GDI Hardware Acceleration
The whole page is interesting, but here's the relevant conclusion:
GDI is hardware accelerated on Windows XP, and accelerated on Windows 7 when the Desktop Window Manager is running and a WDDM 1.1 driver is in use. Direct2D is hardware accelerated on almost any WDDM driver and whether or not DWM is in use. On Vista, GDI will always render on the CPU.
The article specifically mentions "text rendering, BitBlts, AlphaBlend, TransparentBlt, and StretchBlt" all being hardware accelerated in Windows 7+.
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
|