Commit graph

7 commits

Author SHA1 Message Date
Eidolon
a4d304a1f5 Update copyright years to 2025 2025-02-13 15:32:26 -06:00
Sally Coolatta
7dfa597c7d SRB2 -> DRRR copyright in src, acs, android folder
Be consistent with toaster's recent changes to copyright
2024-04-05 02:08:23 -04:00
James R
c6bdf4eae3 Remove RANGECHECK, replace with devmode prints
- All code that would I_Error behind RANGECHECK, simply
  return
- Add debug prints under devmode render
2024-03-03 17:31:33 -08:00
James R
27b4013c18 R_DrawColumn_Template: fix non-po2 column drawing
- Fix for efd017085
- To preserve tutti-frutti fix, offset drawing with
  texheight, but detect po2 with sourcelength
2024-02-09 19:46:45 -08:00
James R
87db195481 R_DrawColumnTemplate: minor optimization for non-power-of-2 textures
This is very likely a platform specific optimization. The
optimization is about a very hot std::clamp. However, the
code is near functionally identical to the libstdc++
implementation, aside from being completely inlined.

I can't say why my version is faster, since I haven't read
any assembly output. More details in source code comments.
2024-01-17 11:35:59 -08:00
Eidolon
26017c4fdd Clamp patch column post drawing bounds
Prevents segfaults when drawing patches in certain configurations
2024-01-12 18:32:06 -06:00
Sally Coolatta
24132a9dcd 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-01-11 01:50:46 -08:00