quakeforge/include
Bill Currie 668f7f2cd2 [vulkan] Use palette lookups for top/bottom colors
As the RGB curves for many of the color rows are not linearly related,
my idea of scaling the brightest color in the row just didn't work.
Using a masked palette lookup works much better as it allows any curves.
Also, because the palette is uploaded as a grid and the coordinates are
calculated on the CPU, the system is extendable beyond 8-bit palettes.

This isn't quite complete as the top and bottom colors are still in
separate layers but their indices and masks can fit in just one, but
this requires reworking the texture setup (for another commit).
2022-11-15 11:53:07 +09:00
..
client [qw] Implement hud ping and pl indicators 2022-11-10 15:34:31 +09:00
evdev [input] Use a single select call for all drivers 2021-09-26 15:11:07 +09:00
QF [vulkan] Use palette lookups for top/bottom colors 2022-11-15 11:53:07 +09:00
qw [client] Clean up sbar's globals access 2022-11-09 19:38:54 +09:00
win32 Get QF cross-compiling using MXE/mingw32 2021-03-27 20:09:37 +09:00
adivtab.h
alsa_funcs_list.h [audio] Clean up alsa init and add error checking 2021-06-25 09:50:31 +09:00
anorm_dots.h
anorms.h
asm_draw.h [sw] Clean up r_refdef and R_ViewChanged 2022-03-27 15:32:00 +09:00
asm_i386.h
block8.h
block16.h
bsearch.h [util] Add fuzzy and reentrant bsearch 2021-06-01 18:53:53 +09:00
buildnum.h
compat.h [util] Add fuzzy and reentrant bsearch 2021-06-01 18:53:53 +09:00
context_sdl.h
context_win.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
context_x11.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
d_iface.h [sw] Take advantage of the ECS for edge rendering 2022-10-25 19:36:09 +09:00
d_ifacea.h [renderer] Move particles over to simd 2021-12-24 06:45:13 +09:00
d_local.h [sw] Take advantage of the ECS for edge rendering 2022-10-25 19:36:09 +09:00
dga_check.h [video] Mark dga funcs as const when dga not available 2021-08-11 12:09:07 +09:00
exp.h
fbset.h [vid] Fix non-utf8 circle-c in fbset 2022-04-13 10:35:40 +09:00
gamedefs.h Make item masks easier to read 2022-11-10 15:08:36 +09:00
garbage.h
getopt.h
gib_buffer.h [build] Autoconfiscate printf format attribute 2021-03-27 19:52:59 +09:00
gib_builtin.h
gib_classes.h
gib_execute.h
gib_function.h
gib_handle.h
gib_object.h
gib_parse.h
gib_process.h
gib_regex.h
gib_semantics.h
gib_thread.h
gib_tree.h
gib_vars.h
gl_warp_sin.h
in_win.h
in_x11.h [x11] Split up in_x11_init into three stages 2021-11-21 21:22:11 +09:00
logos.h
Makemodule.am [renderer] Switch to using HarfBuzz for glyph positioning 2022-09-04 20:56:38 +09:00
mod_internal.h [renderer] Clean up some unwanted dependencies 2022-05-26 14:41:08 +09:00
net_dgrm.h
net_loop.h
net_udp.h
net_vcr.h
net_wins.h Get QF cross-compiling using MXE/mingw32 2021-03-27 20:09:37 +09:00
netchan.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
netmain.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
noisetextures.h
old_keys.h
ops.h
pstdint.h
qfalloca.h
qfselect.h [util] Wrap fd_set 2021-09-28 10:53:51 +09:00
qstring.h [util] Add strndup and reentrant quicksort 2021-03-27 20:03:39 +09:00
quakeasm.h [sw] Clean up use of vid.colormap8 2022-03-29 14:43:38 +09:00
quicksort.h [util] Add fuzzy and reentrant bsearch 2021-06-01 18:53:53 +09:00
r_cvar.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
r_dynamic.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
r_font.h [ui] Convert view_t to an ECS entity 2022-11-01 00:40:52 +09:00
r_internal.h [sw] Take advantage of the ECS for edge rendering 2022-10-25 19:36:09 +09:00
r_local.h [nq,qw] Minimize differences in cl_screen.c 2022-11-01 21:00:40 +09:00
r_scrap.h [renderer] Report scrap rectangle counts 2022-09-20 19:32:41 +09:00
r_shared.h [nq,qw] Minimize differences in cl_screen.c 2022-11-01 21:00:40 +09:00
r_text.h [ui] Convert view_t to an ECS entity 2022-11-01 00:40:52 +09:00
regex.h
rua_internal.h [ruamoko] Allow scenes to be fetched by C code 2022-05-05 23:49:31 +09:00
sbar.h [client] Implement the scoreboards and spectator 2022-11-13 04:15:26 +09:00
scn_internal.h [ecs] Move ECS core into its own library 2022-10-26 17:24:03 +09:00
skin_stencil.h
snd_internal.h [scene] Make entity_t just an entity id for ECS 2022-10-23 22:24:36 +09:00
sv_console.h [ui] Convert view_t to an ECS entity 2022-11-01 00:40:52 +09:00
varrays.h
vgamodes.h
vid_gl.h [renderer] Make screen capture support asynchronous operation 2022-04-01 01:01:53 +09:00
vid_internal.h [vid] Add a function to set the palette and colormap 2022-11-14 19:39:55 +09:00
vid_sw.h [renderer] Make screen capture support asynchronous operation 2022-04-01 01:01:53 +09:00
vid_vulkan.h [vulkan] Upload palette as a 16x16 image 2022-11-15 09:26:17 +09:00
vregset.h
winquake.h [vid] Clean up windows video code a bit 2021-03-31 15:10:35 +09:00
world.h [mode] Go back to using dclipnode_t everywhere 2022-05-19 15:16:53 +09:00