GDI/GDI+, Move Over: Microsoft Introduces Direct2D
Posted 10/31/08 at 02:54:35 PM | by Mark Edward Soper

For most of the last decade, improving 3D performance has been the primary goal of operating system, application (read gaming) developers, and hardware developers. However, when you're at work, trying hard to make the money you need to buy a new HDTV and über-gaming PC, you're probably working in a 2D world that's being managed by the creaky GDI/GDI+ APIs which were first developed back to the 1990s.
This week, Microsoft introduced a replacement for GDI/GDI+ called Direct2D. Microsoft's Thomas Olsen, a Dev Lead in the Windows Desktop Graphics organization, uses his new blog to bring us up to speed on why we need the new Direct2D API and how it will make PCs work better.
Olson points out that GDI/GDI+ use software rendering for tasks that modern GPUs can now perform, and that GDI/GDI+ is a completely separate subsystem from Direct3D. Direct2D, as the name implies, is designed to run on top of Direct3D, enabling support of modern GPUs while retaining compatibility with GDI/GDI+. Direct2D will be part of Windows 7, but it might also be deployed to Windws Vista and even Windows XP.
Direct2D provides better performance and better ClearType font rendering than with GDI/GDI+, and provides the ability to run in software mode if Direct2D hardware support is not available. Even in software mode, Direct2D is designed to provide "substantially better rendering performance than GDI+ with similar visual quality," according to the PDC 2008 white paper "Introducing Direct2D."
You can download a copy of this white paper, but note that it uses Office 2007's DocX format. If you need a DocX reader, you can download Microsoft's reader (which also requires the Microsoft Office Compatibility Pack for Word, Excel, and PowerPoint 2007 File Formats, available here), or download OpenOffice 3.0. Be sure to check out Tom's Blog for more Direct2D information as it becomes available.
If you use 2D graphics as part of your work or leisure time, what do you think about Direct2D? Hit Comments and tell us your thoughts.
Illustration courtesy of Tom's Blog.
Weve already got 2d graphics
Submitted by Keith E. Whisman on Sat, 2008-11-01 21:44
Weve already got 2d graphics it's called Intel Extreme Graphics.
I sometimes wonder why I
Submitted by brirun on Sat, 2008-11-01 04:31
I sometimes wonder why I have a quad-core machine with 6GB of RAM and wait for Word to load. It doesn't seem much better than with Windows95. I hope this can make that a little better (and other little things like that.)
Load times
Submitted by LatiosXT on Sat, 2008-11-01 12:05
Load times are mostly depenedent on your hard drive, not the CPU or RAM (although RAM does play a minor role). The faster your hard drive, the faster things will load. Hence why Windows XP still continues to load at roughly the same speed despite booting it on a Athlon XP 2600+, Athlon 64 X2 3800+, and a Core 2 Duo E8400.
i think its about time. i
Submitted by jvc08 on Fri, 2008-10-31 21:39
i think its about time. i been thinking about this for a long time. they make 3d faster, but what about 2d text and graphics, in other words, what about everything else!?? internet, cleartype fonts, windows desktop, they all need to work faster, have you ever drag a desktop window moving in circles? it's damn slow. it's about time!
Plenty of other reasons to speed up 2D
Submitted by Marcus_Soperus on Fri, 2008-10-31 13:35
While the screenshot I grabbed for the header shows a game-like demo, the full blog post also shows off demos of CD album labels and charting. Windows Media Center, Windows Media Player, and plenty of other graphically-rich 2D environments will also benefit from faster 2D performance. This could really help speed up Windows 7, and I hope that Redmond can figure out a way to backport it to Vista and XP.
I really want there to be a
Submitted by Keith E. Whisman on Sat, 2008-11-01 21:46
I really want there to be a 3D GUI for Win7.
A little to late
Submitted by zodi on Fri, 2008-10-31 13:01
15 years after the fact they figured out they can use GPU acceleration for 2D.
Well I guess its a step forward. More CPU cycles for some of the older games maybe.
1 NEW COMMENT(S) | 54 TOTAL COMMENTS









