2D Graphics Test

Top  Previous  Next

This suite contains a number of tests that exercise Qt's QPainter graphics functions and the video card.

The numbers displayed at the top of the window for this test represent how many millions of graphical operations have been performed. Each test runs for half a second. After all 3 tests have been ran the cycle count is incremented. The duty cycle, the CPU speed and the video card speed, determine how many operations can be processed during the half-second period.

 

The number of shapes, lines and squares (bitmaps) drawn is displayed at the top of the test window followed by K (indicating thousands), M (millions) or B (billions).

 

The total of these three values is displayed in the main window.

 

Line Drawing

Lines are drawn into window. The color is changed every 500 lines to enable the lines to been seen in the test window.

 

Painting Bitmaps (Squares)

A square bitmap is painted into a window as quickly as possible.

 

Outline shapes

Two different shapes are drawn into a window:

 

-An ellipse

-A square with rounded corners

 

The color is changed every 64 shapes to enable the shapes to be seen in the test window.