Skip to content

VDP1 - Balls (drawing stress test)

Latest

Choose a tag to compare

@bimmerlabs bimmerlabs released this 31 Dec 18:23
· 1 commit to main since this release
e656f29

A drawing stress test for VDP1.

image

Tests line, polyline, and filled polygon draws. Also tests sprite draws from 2x1 to 64x64. Tests fillrate and CPU loaded performance.

The three draw modes are SRL Polygon, SGL direct (sprites), and SRL default (sprites).

To test fill rate, press start to pause the physics. Increase the number of sprites/polygons until it flickers, then back off (this isn't perfect as there is still a lot of SGL overhead).

To test a more real world scenario with CPU load, unpause the demo. The physics are very basic, but it's enough that the amount of possible draw commands is reduced by around half (if 60fps is your target at least).

Controls:

  • Up/Down: Increase/Decrease the number of balls
  • Left/Right: Decrease/Increase the size of the balls
  • A: change drawing mode
  • C: set scale to 50% (sprites only)
  • X: set polygon mode to filled/unfilled
  • Start: pause/unpause physics