Now let’s look at ellipses. The test is similar to that of rectangles. There is a lot of average and depending on the test field, there are also outliers to the bottom.
Content of the test
A total of 100,000 objects of random size and color are rendered at a random position. We alternate outline color, fill style and fill color. The initial value for the random generator is always identical, so all test runs will always render the same content. All objects are inside the drawing area, so no clipping is needed.
Used GDI functions
for the pure ellipse benchmark:
- CreatePen
- CreateSolidBrush
- GetStockObject
- Circle
- Arc
- SelectObject
- DeleteObject
additionally for DIB buffer (test with buffering):
- CreateCompatibleDC
- CreateDIBSection
- BitBlt
Direct drawing without buffer
Drawing with buffer
Conclusion
Drawing ellipses is not as affected as drawing rectangles. In unbuffered drawing, two ATI cards have to admit defeat to the Atom system, in buffered drawing the field is in the usable performance range.
- 1 - Einführung: Die Relevanz der 2D-Grafikausgabe über das GDI
- 2 - Das 2D-GDI und dessen Grafikausgabe von XP bis Windows 7 im Detail
- 3 - 2D-Grafikausgabe über das GDI: direkt oder gepuffert?
- 4 - Die Symptome der HD 5xxx-Serie und deren Relevanz unter Windows 7
- 5 - Tom2D: Unser einfacher 2D-GDI-Benchmark
- 6 - Tom2D: Textausgabe
- 7 - Tom2D: Linien
- 8 - Tom2D: Kurven
- 9 - Tom2D: Polygone
- 10 - Tom2D: Rechtecke
- 11 - Tom2D: Ellipsen
- 12 - Tom2D: Blitting
- 13 - Tom2D: Stretching
- 14 - Fazit
16 Antworten
Kommentar
Lade neue Kommentare
Mitglied
Veteran
Urgestein
1
Urgestein
1
Urgestein
Urgestein
Urgestein
Urgestein
Mitglied
Urgestein
1
Urgestein
Mitglied
1
Alle Kommentare lesen unter igor´sLAB Community →