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 Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
alsa_funcs_list.h [audio] Clean up alsa init and add error checking 2021-06-25 09:50:31 +09:00
anorm_dots.h Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
anorms.h Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
asm_draw.h [sw] Clean up r_refdef and R_ViewChanged 2022-03-27 15:32:00 +09:00
asm_i386.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
block8.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
block16.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
bsearch.h [util] Add fuzzy and reentrant bsearch 2021-06-01 18:53:53 +09:00
buildnum.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
compat.h [util] Add fuzzy and reentrant bsearch 2021-06-01 18:53:53 +09:00
context_sdl.h Separate render and presentation initialization 2019-07-09 01:00:47 +09:00
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 Do a pure/const/noreturn/format attribute pass. 2018-10-09 12:42:21 +09:00
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 Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
getopt.h make gcc more anal about prototypes, string constants and function 2003-01-06 18:28:13 +00:00
gib_buffer.h [build] Autoconfiscate printf format attribute 2021-03-27 19:52:59 +09:00
gib_builtin.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_classes.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_execute.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_function.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_handle.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_object.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_parse.h Do a pure/const/noreturn/format attribute pass. 2018-10-09 12:42:21 +09:00
gib_process.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_regex.h Do a pure/const/noreturn/format attribute pass. 2018-10-09 12:42:21 +09:00
gib_semantics.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_thread.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_tree.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gib_vars.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
gl_warp_sin.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
in_win.h Fix win32 (mingw) builds. 2012-02-07 20:18:23 +09:00
in_x11.h [x11] Split up in_x11_init into three stages 2021-11-21 21:22:11 +09:00
logos.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
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 Update for doxygen 1.8.16 2020-02-11 15:22:42 +09:00
net_loop.h Update for doxygen 1.8.16 2020-02-11 15:22:42 +09:00
net_udp.h Update for doxygen 1.8.16 2020-02-11 15:22:42 +09:00
net_vcr.h Update for doxygen 1.8.16 2020-02-11 15:22:42 +09:00
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 Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
old_keys.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
ops.h Do a pure/const/noreturn/format attribute pass. 2018-10-09 12:42:21 +09:00
pstdint.h Prefer int over long for (u)int32_t. 2010-12-23 09:47:05 +09:00
qfalloca.h Handle alloca "correctly". 2013-01-22 21:02:50 +09:00
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 Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
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 Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
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 Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
vgamodes.h Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
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 Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
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