Commit graph

13 commits

Author SHA1 Message Date
NepDisk
3b298c2a25 Vendoring Tracy again
Having this as a submodule is causing issues
2026-02-21 12:36:05 -05:00
NepDisk
b4ffbe8ba4 Move tracy and libbacktrace to submodules 2026-02-19 16:06:24 -05:00
Alug
88c0fc51d8 software renderer: handle some float type related issues with slope drawers
there were a bunch of cases where inf and nan float results were casted and used with integer things, which is undefined in c

yes i did use ceepeepee for that crap, cause this wouldve been really annoying without templating
if someone really wants that crap to use outside ceepeepee, feel free to make a bunch of wrappers cause im too lazy for that stuff
2025-11-08 02:06:53 -05:00
NepDisk
df581ae69f Remove dead renderer code
based on 0eeacaf51e

remove
- broken viewborder code (if we really want it back for some reason, we should rather port RR´s fixed version of it)
- remove console clipping code for software (this was broken eiherway)
- remove hud message clearing stuff
- remove renderscreen and linesize variables (they just pointed to vid.screen and vid.widht)
2025-10-19 16:34:38 -04:00
NepDisk
659aa667eb Software Renderer: Implement Column buffering system
A port of https://github.com/Indev450/SRB2Kart-Saturn/pull/205, currently doesn't work
2025-10-19 12:12:33 -04:00
NepDisk
39e17bce4b remove ylookup, columnofs and topleft lookups
based on 2da89f1946
move screens array to vid struct
remove a bunch of unused stuff

this speeds up 4 player splitscreen ever so slighty
mostly just alot cleaner than the mess it was before
2025-10-18 13:04:39 -04:00
NepDisk
b865638cb8 Port restrict and LIKELY/UNLIKELY macros and mark stuff for blitting loop as const and with register 2025-08-18 09:59:58 -04:00
NepDisk
7907945002 Major Softwaremode speedboost 2025-08-09 13:25:02 -04:00
NepDisk
0bf360a82e Some cherrypicks from SRB2 Classic's 'Faster software drawing'
-Textures with 0 height are not checked for wraps, this helps speed up multipatch columns.
-A useless call to R_FakeFlat has been removed.
-Slopes now use floats rather than doubles to calculate UV coordinates.
2025-07-02 21:38:35 -04:00
NepDisk
ed7b667aa7 Update File headers to use BLANKART 2025-04-19 13:33:28 -04:00
NepDisk
57c4cc6df1 Use some rendering code from durrr 2024-12-30 13:10:51 -05:00
Oni
5c48744842 Merge branch 'templated-drawing' into 'master'
Use C++ templates for DrawColumn/Span

See merge request KartKrew/Kart!1728
2024-12-29 15:56:33 -05:00
Sally Coolatta
397f79fcbf Use C++ templates for DrawColumn/Span
Two reasons:
- Makes it more straight-forward to add brightmaps to the non-power-of-two rendering functions.
- Made it easier to split off brightmap rendering. Hopefully improves performance, but I haven't thoroughly tested this.
2024-12-29 15:19:24 -05:00