quakeforge/libs/video/renderer
Bill Currie 765b61d133 [vulkan] Remove elements_t type
This was one of the biggest reasons I had trouble understanding the bsp
display list code, but it turns out it was for dealing with GLES's
16-bit limit on vertex indices. Since vulkan uses 32-bit indices,
there's no need for the extra layer of indirection. I'm pretty sure it
was that lack of understanding that prevented me from removing it when I
first converted the glsl bsp code to vulkan (ie, that 16-bit indices
were the only reason for elements_t).

It's hard to tell whether the change makes much difference to
performance, though it seems it might (noisy stats even over 50 timedemo
loops) and the better data localization indicate it should at least be
just as good if not better. However, the reason for the change is
simplifying the data structures so I can make bsp rendering thread-safe
in preparation for rendering shadow maps.
2022-05-19 13:26:45 +09:00
..
gl [gl] Use a scrap for lightmaps 2022-05-11 00:33:47 +09:00
glsl [glsl,vulkan] More comments in the bsp code 2022-05-19 13:26:45 +09:00
sw [renderer] Fix the other renderers for qwaq not loading gfx.wad 2022-05-09 16:30:05 +09:00
vulkan [vulkan] Remove elements_t type 2022-05-19 13:26:45 +09:00
crosshair.c Add a new crosshair. 2012-12-12 19:36:50 +09:00
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 Change pointer_t to unsigned and clean up the mess. 2012-12-21 21:53:13 +09:00
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] Make firstmarksurface an int instead of pointer 2022-05-11 00:33:47 +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 Work around some clang parsing issues 2022-03-31 02:44:58 +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] Make firstmarksurface an int instead of pointer 2022-05-11 00:33:47 +09:00
r_main.c Update vec3_t/vec4f_t hacks to work with clang 2022-03-31 00:08:26 +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 [vulkan] Move non-specific lighting code out of Vulkan 2022-05-05 23:49:30 +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