Groups | Blog | Home
all groups > dotnet drawing api > june 2005 >

dotnet drawing api : GDI / GDI+ Hardware Acceleration Status


Steve
6/24/2005 12:00:00 AM
Hi

I am new to GDI programming and Win32 programming in general and I am trying
to get some definitive understanding on the state of hardware acceleration
(and general software optimisation come to that) in GDI and GDI+.

I am hoping to use either GDI or GDI+ for some 2D animations I would like to
put in a windows forms application.

A google search does not produce anything consistent -- probably due to the
fact that technical circumstances seem to get superseded very quickly in the
Win32 world.

I would be grateful if anyone could provide me with some direction on the
current state of hardware acceleration for these drawing API's.

Cheers
Steve

John Carson
6/24/2005 12:00:00 AM
[quoted text, click to view]

Interesting. Do you have a view on what is behind this lack of confidence? A
belief that it would soon be replaced by Microsoft's "next great thing"?

--
John Carson
Bob Powell [MVP]
6/24/2005 7:20:15 PM
GDI is and has been accellerated for many years. GDI+ isn't generally due to
lack of confidence in the platform from manufacturers. Only Matrox have ever
supplied GDI+ accellerated cards and I don't know if they still do.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.





[quoted text, click to view]

Steve
6/24/2005 7:41:08 PM

[quoted text, click to view]

Thats pretty much my understanding from googling -- thanks Bob thats two I
owe you.

Interestingly, a lot of stuff (probably early stuff) I found indicated that
the intention was for GDI+ to replace GDI and that it would be fully
accelerated. I suppose intention is one thing...reality another.

--
Steve

Morten Wennevik
6/24/2005 9:08:54 PM
I suspect the need for hardware accelerated GDI+ weren't really there since you could always use GDI when necessary and for the vast majority of GDI+ applications, the CPU would be able to handle it unaccelerated.

Considering the "next great thing", Avalon, is just around the corner I suspect any lack of confidence might have been valid. Avalon, however, won't need 2D acceleration as it utilizes the 3D acceleration of today's graphics cards for rendering 2D controls.


[quoted text, click to view]



--
Happy coding!
AddThis Social Bookmark Button