mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
4b1eb0d760
It now processes 4 pixels at a time and uses a bit mask instead of a conditional to set 3 of the 4 pixels to black. On top of the 4:1 pixel processing and avoiding inner-loop conditional jumps, gcc unrolls the loop, so Draw_FadeScreen itself is more than 4x as fast as it was. The end result is about 5% (3fps) speedup to timedemo demo1 on my 900MHz EEE Pc when nq has been hacked to always draw the fade-screen. |
||
---|---|---|
.. | ||
renderer | ||
targets | ||
Makemodule.am |