quakeforge/libs/video/renderer
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
..
gl [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
glsl [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
sw [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
vulkan [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
crosshair.c
font8x8.c [renderer] Add a default 8x8 font 2021-01-08 14:37:52 +09:00
Makemodule.am [vulkan] Label renderpass and subpass sections 2022-05-07 15:45:11 +09:00
noisetextures.c
r_alias.c [scene] Move entity_t etc into scene headers 2022-03-29 14:43:38 +09:00
r_billboard.c [renderer] Move a couple functions to using vec4f_t 2022-03-30 23:53:30 +09:00
r_bsp.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
r_cvar.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
r_dyn_textures.c [image] Change tex_t data from array to pointer 2021-01-25 00:54:41 +09:00
r_efrag.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
r_ent.c [renderer] Move some functions from plugins to main lib 2022-03-07 13:40:04 +09:00
r_fog.c [renderer] Fix some non-static linking issues 2022-03-09 06:55:31 +09:00
r_graph.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
r_init.c [plugin] Ensure plugins get unloaded during shutdown 2022-05-12 20:58:39 +09:00
r_iqm.c [scene] Move entity_t etc into scene headers 2022-03-29 14:43:38 +09:00
r_light.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
r_main.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
r_part.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
r_progs.c [gamecode] Add PR_Shutdown for tearing down a VM 2022-05-12 19:58:18 +09:00
r_scrap.c [ui] Create library for UI support code 2021-06-12 22:50:51 +09:00
r_screen.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
r_sprite.c [scene] Move entity_t etc into scene headers 2022-03-29 14:43:38 +09:00
vid_common.c [renderer] Clean up particles a little 2022-03-29 14:43:38 +09:00
vid_render_gl.c [model] Support freeing of skin data 2022-05-12 22:46:31 +09:00
vid_render_glsl.c [model] Support freeing of skin data 2022-05-12 22:46:31 +09:00
vid_render_sw.c [model] Support freeing of skin data 2022-05-12 22:46:31 +09:00
vid_render_vulkan.c [vulkan] Free the staging buffer's command buffers 2022-05-13 10:19:08 +09:00