Skip to content

wip: Tiled rendering experiment

Matthias Clasen requested to merge ngl-tiling-experiment into master

Render the tree 4 times, with clips to cut out one quarter of the window. Not pushing things into threads yet.

Results are mixed. The speedups are moderate at best, and there are some rendering artifacts at tile boundaries.

Some numbers from widget-factory:

tiled: 0.89 / 0.57 / 0.54 / 0.61 ms    non-tiled: 0.98ms
tiled: 0.48 / 0.53 / 0.52 / 0.55 ms    non-tiled: 0.84ms
tiled: 0.55 / 0.49 / 0.54 / 0.57 ms    non-tiled: 0.90ms
tiled: 0.56 / 0.45 / 0.59 / 0.54 ms    non-tiled: 1.05ms
tiled: 0.72 / 0.51 / 0.51 / 0.58 ms    non-tiled: 0.87ms
tiled: 0.51 / 0.44 / 0.51 / 0.53 ms    non-tiled: 0.98ms
tiled: 0.65 / 0.54 / 0.50 / 0.54 ms    non-tiled: 0.92ms
tiled: 0.90 / 0.69 / 0.77 / 0.61 ms    non-tiled: 0.94ms
tiled: 0.65 / 0.51 / 0.67 / 0.53 ms    non-tiled: 0.85ms
tiled: 0.96 / 0.51 / 0.50 / 0.52 ms    non-tiled: 0.85ms
tiled: 0.76 / 0.70 / 0.74 / 0.77 ms    non-tiled: 1.21ms
tiled: 1.08 / 0.87 / 0.94 / 1.06 ms    non-tiled: 1.61ms
tiled: 1.00 / 1.05 / 0.92 / 1.09 ms    non-tiled: 1.64ms
tiled: 0.83 / 0.83 / 0.91 / 1.00 ms    non-tiled: 1.76ms
tiled: 0.99 / 0.94 / 0.93 / 1.06 ms    non-tiled: 1.70ms
tiled: 0.86 / 0.87 / 1.00 / 1.05 ms    non-tiled: 2.25ms
tiled: 1.74 / 1.73 / 1.99 / 2.25 ms    non-tiled: 4.70ms

Merge request reports