Rectangles are another key part of our test suite.
We draw a total of 200,000 rectangles of random size, color, and position in this test. Line and fill colors are always the same. As in other tests, the random seed is constant so that all test runs should produce the same content. And again, all rectangles appear within the display area to make clipping unnecessary.
GDI Functions Called
Rectangles rendered directly:
Rectangles rendered from the DIB buffer:
Drawing rectangles using GDI isn’t exactly fast. Nearly all graphics cards run noticeably faster in this test when Aero is turned off, much to our amazement. It’s also noteworthy that all of our graphics cards, regardless of vendor, slow down drastically in buffered mode.