quakeforge/libs/video/renderer/glsl
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
..
glsl_alias.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
glsl_bsp.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
glsl_draw.c [renderer] Fix the other renderers for qwaq not loading gfx.wad 2022-05-09 16:30:05 +09:00
glsl_fisheye.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
glsl_iqm.c Update vec3_t/vec4f_t hacks to work with clang 2022-03-31 00:08:26 +09:00
glsl_lightmap.c [renderer] Up some limits so I can test with ad_tears 2022-05-22 11:59:53 +09:00
glsl_main.c [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
glsl_particles.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
glsl_shader.c [glsl] Put #line after any #version lines in the chunks 2022-03-25 09:01:27 +09:00
glsl_sprite.c Update vec3_t/vec4f_t hacks to work with clang 2022-03-31 00:08:26 +09:00
glsl_textures.c [renderer] Remove namehack.h 2022-03-14 14:31:23 +09:00
glsl_warp.c [glsl] Implement screen warp when in liquids 2022-03-25 09:01:27 +09:00
qfglsl.c Separate render and presentation initialization 2019-07-09 01:00:47 +09:00
quakeforge.glsl [glsl] Implement fisheye rendering 2022-03-25 12:22:16 +09:00
vid_common_glsl.c [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00