quakeforge/libs/video/renderer/sw
Bill Currie 7240d2dc80 [model] Move plane info into mnode_t, and visframe out
The main goal was to get visframe out of mnode_t to make it thread-safe
(each thread can have its own visframe array), but moving the plane info
into mnode_t made for better data access patters when traversing the bsp
tree as the plane is right there with the child indices. Nicely, the
size of mnode_t is the same as before (64 bytes due to alignment), with
4 bytes wasted.

Performance-wise, there seems to be very little difference. Maybe
slightly slower.

The unfortunate thing about the change is the plane distance is negated,
possibly leading to some confusion, particularly since the box and
sphere culling functions were affected. However, this is so point-plane
distance calculations can be done with a single 4d dot product.
2022-05-22 12:41:23 +09:00
..
d_copy.S Add GNU-stack notes to assembly files 2021-06-13 10:12:03 -04:00
d_draw.S [renderer] Move to using dynamic frame buffers 2022-03-24 12:56:29 +09:00
d_edge.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
d_fill.c Make vid.width/height unsigned and clean up the mess. 2013-01-24 12:36:14 +09:00
d_init.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
d_modech.c [renderer] Move to using dynamic frame buffers 2022-03-24 12:56:29 +09:00
d_part.c [renderer] Move to using dynamic frame buffers 2022-03-24 12:56:29 +09:00
d_parta.S [renderer] Move to using dynamic frame buffers 2022-03-24 12:56:29 +09:00
d_polysa.S [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00
d_polyse.c [renderer] Move to using dynamic frame buffers 2022-03-24 12:56:29 +09:00
d_scan.c [renderer] Clean up post processing 2022-03-26 00:42:43 +09:00
d_scana.S [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00
d_sky.c [renderer] Move to using dynamic frame buffers 2022-03-24 12:56:29 +09:00
d_spr8.S [renderer] Move to using dynamic frame buffers 2022-03-24 12:56:29 +09:00
d_sprite.c [renderer] Move to using dynamic frame buffers 2022-03-24 12:56:29 +09:00
d_surf.c [scene] Move entity_t etc into scene headers 2022-03-29 14:43:38 +09:00
d_vars.c [renderer] Move to using dynamic frame buffers 2022-03-24 12:56:29 +09:00
d_varsa.S [renderer] Move to using dynamic frame buffers 2022-03-24 12:56:29 +09:00
d_zpoint.c [sw] Rename d_pzbuffer to d_zbuffer 2022-03-21 23:12:22 +09:00
draw.c [renderer] Fix the other renderers for qwaq not loading gfx.wad 2022-05-09 16:30:05 +09:00
fpu.c Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
fpua.S Add GNU-stack notes to assembly files 2021-06-13 10:12:03 -04:00
nonintel.c Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
surf8.S [sw] Clean up use of vid.colormap8 2022-03-29 14:43:38 +09:00
sw_fisheye.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
sw_graph.c [renderer] Move to using dynamic frame buffers 2022-03-24 12:56:29 +09:00
sw_raclip.c [sw] Clean up r_refdef and R_ViewChanged 2022-03-27 15:32:00 +09:00
sw_raclipa.S [sw] Clean up r_refdef and R_ViewChanged 2022-03-27 15:32:00 +09:00
sw_ralias.c [sw] Clean up use of vid.colormap8 2022-03-29 14:43:38 +09:00
sw_raliasa.S [sw] Fix some missed symbol renames 2022-03-21 19:24:43 +09:00
sw_rbsp.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
sw_rdraw.c [scene] Move entity_t etc into scene headers 2022-03-29 14:43:38 +09:00
sw_rdrawa.S [sw] Clean up r_refdef and R_ViewChanged 2022-03-27 15:32:00 +09:00
sw_redge.c [renderer] Remove currententity 2022-03-11 16:39:08 +09:00
sw_redgea.S Add GNU-stack notes to assembly files 2021-06-13 10:12:03 -04:00
sw_riqm.c [sw] Clean up use of vid.colormap8 2022-03-29 14:43:38 +09:00
sw_rmain.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
sw_rmisc.c [renderer] Move to using dynamic frame buffers 2022-03-24 12:56:29 +09:00
sw_rpart.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
sw_rsky.c [sw] Clean up R_SetSkyFrame a little 2022-03-17 13:37:21 +09:00
sw_rsprite.c [renderer] Move a couple functions to using vec4f_t 2022-03-30 23:53:30 +09:00
sw_rsurf.c [sw] Clean up use of vid.colormap8 2022-03-29 14:43:38 +09:00
sw_rvarsa.S Add GNU-stack notes to assembly files 2021-06-13 10:12:03 -04:00
transform.S [renderer] Clean up use of vup/vright/vpn 2022-03-14 09:45:27 +09:00
vid_common_sw.c [renderer] Abandon sw32 altogether 2022-03-09 21:36:15 +09:00