regarding Windows 7 2D rendering hardware acceleration

civers

New member
Local time
6:46 PM
Messages
1
Hello,

It has been mentioned in this forum and some other places also that 2D rendering (including user interface) in Windows 7 is hardware accelerated when Aero theme is turned on, and the same rendering is stopped from being hardware accelerated when Aero theme is turned off.

I didn't have a chance to ascertain this relation between Aero and 2D acceleration practically, because when I was using Windows 7, Aero was always turned off. If it is true what was said in the paragraph above, how this acceleration affects application user interface performance if this application is written with GDI (predecessor of Direct2D)? Is its user interface performance difference noticeable (acceleration compared to no acceleration)? Can someone help and make two quick 2D tests on the same machine (that has necessary graphics card and other drivers for Windows 7 installed), for example, using PassMark PerformanceTest benchmarking program, while Aero is turned on and then turned off, and post comparison results in the form of the screenshot of the whole 2D Graphics Mark tab, to make some assessions in this regard?

How application user interface performance is different for two versions (one written with GDI, and the other with Direct2D) of the same application with very basic functionality, with the same controls on the window, etc., when they are run/benchmarked, while 2D rendering hardware acceleration in Windows 7 is turned on and off?

I couldn't find it, but is there an example of two versions of the same application (including source code) that is written only with GDI and only with Direct2D, that can be tested/benchmarked to see its user interface performance on Windows 7? Could you point me where it can be found? Or are there any resources with results of this kind of testing?


Thank you for your answers.
 
Last edited:

My Computer

OS
Windows XP
I don't know anyone who has done any extensive benchmarks comparing GDI and WPF/Direct2D applications. However, the majority of GDI is not hardware accelerated. Also turning Aero off is entirely pointless (unless your Graphics card is a POS). But turning Aero off for "performance" reasons is backwards. You want Aero to be on when running Windows Vista/7.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Alienware Aurora ALX R4
OS
Windows 10 Pro (x64)
CPU
Intel Core i7-3930K (3.2GHz - 4.5GHz)
Motherboard
Alienware Aurora-R4 x79
Memory
4x Samsung 4GB PC3-12800 DDR3 (16GB 1600MHz)
Graphics Card(s)
Nvidia Geforce GTX 690
Sound Card
SteelSeries Siberia Elite
Monitor(s) Displays
Dell UltraSharp U3011
Screen Resolution
2560x1600
Hard Drives
Samsung 850 Pro 256 GB, Seagate 1TB Desktop Hybrid HDD, 2x Western Digital 4TB Green HDD
PSU
875W Some Dell PSU <.<
Case
Alienware Aurora ALX
Cooling
Custom Liquid Cooling (EK CPU & GPU blocks) dual EK 480RAD
Keyboard
Logitech G710+ Mechanical
Mouse
Logitech G700s
Internet Speed
Verizon Fios (50 mbps average)
Other Info
Server: Intel NUC D54250WYK: i5-4250U, 16GB, 256 GB mSATA, Windows Server 2012 R2
I read two pretty good articles regarding this on Tom's hardware a few months ago. I think they should give you good detail and foundation on this:
2D, Acceleration, And Windows: Aren't All Graphics Cards Equal? : Part 1: Laying A Theoretical Background
Part 2: 2D, Acceleration, And Windows: Aren't All Graphics Cards Equal? : Introduction: Why GDI Output For 2D Graphics Remains Relevant

And yes, turning off Aero for performance reasons usually will not help unless either your graphics card is junk or your CPU is junk (and I mean like a Pentium III this day in age).
 

My Computer

OS
Windows 7 Ultimate x64 SP1
CPU
Intel Core i3 530 2.93 Ghz Clarkdale
Motherboard
ASRock P55 PRO/USB3 LGA 1156
Memory
4 GB OCZ DDR3 1600 (PC12800) Low Voltage Desktop Memory
Graphics Card(s)
Nvidia GeForce GTX 550 Ti with 1 GB of RAM
Sound Card
Realtek HD ALC892
Monitor(s) Displays
20'' eMachines E202HDbmd Glare Panel Widescreen
Screen Resolution
1600 x 900
Hard Drives
Western Digital 1 TB Caviar Black Edition (7200 RPM) SATA
Hitachi Deskstar 500 GB (7200 RPM) SATA
Samsung SpinPoint 400 GB (7200 RPM) SATA
PSU
Rosewill Xtreme Series RX750-D-B ATX12V v2.2 & EPS12V (750W)
Case
Cooler Master Centurion 534 RC-534-KKN2-GP Mid-Tower
Cooling
Standard Case Fans and Stock CPU Heatsink
Keyboard
Microsoft Wireless Optical Desktop Elite
Mouse
Microsoft Wireless Optical Desktop Elite
Internet Speed
7.1 Mbps Verizon DSL
Back
Top