quakeforge/include/QF
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
..
classes Massive whitespace cleanup. 2012-05-22 08:23:22 +09:00
ecs [ecs] Optionally delete entities on hierarchy removal 2022-11-08 00:16:29 +09:00
GL [console] Resurrect console scaling 2022-11-14 09:49:13 +09:00
GLSL [console] Resurrect console scaling 2022-11-14 09:49:13 +09:00
input [input] Clear button inputs when IN_ClearStates called 2022-05-19 16:47:47 +09:00
math [math] Add some bit-op functions 2022-01-23 13:47:14 +09:00
plugin [console] Resurrect console scaling 2022-11-14 09:49:13 +09:00
progs Merge branch 'master' into wip-rua_scene 2022-05-01 14:46:47 +09:00
scene [scene] Move visibility management into scene code 2022-11-13 15:08:18 +09:00
simd [simd] Remove some intrinsics uses 2022-05-20 11:09:15 +09:00
ui [ui] Implement View_Delete 2022-11-08 00:20:02 +09:00
Vulkan [vulkan] Use palette lookups for top/bottom colors 2022-11-15 11:53:07 +09:00
alloc.h Update for doxygen 1.8.16 2020-02-11 15:22:42 +09:00
bspfile.h [bsp] Correct documentation about texture frame rate 2022-05-26 22:25:18 +09:00
cbuf.h Update for doxygen 1.8.16 2020-02-11 15:22:42 +09:00
cdaudio.h Merge branch 'master' into vulkan 2020-03-20 13:04:41 +09:00
cexpr.h Abandon support for clang 2022-10-16 18:02:25 +09:00
checksum.h Make header protection consistent 2020-02-24 12:21:20 +09:00
clip_hull.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
cmd.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
cmem.h [util] Use mmap/munmap for cmem internal alloc/free 2021-07-12 16:33:47 +09:00
console.h [console] Get menu rendering working again 2022-11-04 10:38:07 +09:00
crc.h Make header protection consistent 2020-02-24 12:21:20 +09:00
csqc.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
cvar.h [cvar] Remove the cvar lists 2022-04-25 00:26:45 +09:00
darray.h [util] Clean up nested macro temp var names a little 2022-03-31 14:44:51 +09:00
draw.h [console] Resurrect console scaling 2022-11-14 09:49:13 +09:00
dstring.h [build] Autoconfiscate printf format attribute 2021-03-27 19:52:59 +09:00
fbsearch.h [util] Add functions for binary heaps 2021-08-02 12:44:08 +09:00
gib.h [gib] Clean up some header dependencies 2022-05-26 16:13:09 +09:00
hash.h [hash] Use uintptr_t for all hashes 2022-05-12 18:52:36 +09:00
heapsort.h [util] Support custom swap function for heapsort 2022-10-31 10:52:03 +09:00
idparse.h Update for doxygen 1.8.16 2020-02-11 15:22:42 +09:00
image.h [image] Make WritePNG take settings from tex_t 2022-04-01 01:01:53 +09:00
info.h Make header protection consistent 2020-02-24 12:21:20 +09:00
input.h [input] Fix some doxygen breakage 2022-05-19 13:26:45 +09:00
iqm.h [vulkan] Get IQM rendering working 2022-05-07 10:14:22 +09:00
joystick.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
keys.h [dox] Fix up some doxygen issues 2022-04-13 14:17:58 +09:00
link.h Make header protection consistent 2020-02-24 12:21:20 +09:00
listener.h [util] Add a listener object 2021-11-25 13:36:02 +09:00
llist.h Make header protection consistent 2020-02-24 12:21:20 +09:00
Makemodule.am [vulkan] Upload palette as a 16x16 image 2022-11-15 09:26:17 +09:00
mathlib.h [model] Move plane info into mnode_t, and visframe out 2022-05-22 12:41:23 +09:00
mdfour.h Clean up after removal of uint32.h 2020-02-29 16:11:07 +09:00
mersenne.h [util] Add mtwist float random number functions 2021-12-24 06:45:13 +09:00
model.h [scene] Make entity_t just an entity id for ECS 2022-10-23 22:24:36 +09:00
modelgen.h Make header protection consistent 2020-02-24 12:21:20 +09:00
msg.h [util] Add message short and long poke functions 2021-04-04 15:56:14 +09:00
object.h Make header protection consistent 2020-02-24 12:21:20 +09:00
pak.h Make header protection consistent 2020-02-24 12:21:20 +09:00
pakfile.h Update for doxygen 1.8.16 2020-02-11 15:22:42 +09:00
pcx.h Merge branch 'master' into win-merge 2021-03-25 22:42:16 +09:00
plist.h [hash] Rename the publicly visible hashlink_t to hashctx_t 2022-05-12 18:02:01 +09:00
plugin.h Clean up some FIXMEs and XXXs 2022-10-15 14:40:29 +09:00
png.h [image] Make WritePNG take settings from tex_t 2022-04-01 01:01:53 +09:00
pqueue.h [util] Clean up nested macro temp var names a little 2022-03-31 14:44:51 +09:00
progs.h [gamecode] Expose value_string as PR_Debug_ValueString 2022-09-15 00:30:21 +09:00
pvsfile.h [qfvis] Write out the fat-pvs file 2021-07-27 20:04:19 +09:00
qargs.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
qdefs.h Make header protection consistent 2020-02-24 12:21:20 +09:00
qendian.h Make header protection consistent 2020-02-24 12:21:20 +09:00
qtypes.h [renderer] Move driver specific texture chain defs 2021-07-21 16:36:51 +09:00
quakefs.h Fix some doxygen issues 2022-09-22 09:35:57 +09:00
quakeio.h [build] Autoconfiscate printf format attribute 2021-03-27 19:52:59 +09:00
render.h [sw] Take advantage of the ECS for edge rendering 2022-10-25 19:36:09 +09:00
riff.h Nuke the rcsid stuff. 2012-04-22 10:56:32 +09:00
ringbuffer.h [util] Add atomic ring buffer and automated tests 2022-09-22 09:35:57 +09:00
ruamoko.h [gamecode] Pass registered data pointer to builtins 2022-02-14 12:28:38 +09:00
screen.h [client] Fix incorrect function component setup 2022-11-10 21:23:04 +09:00
script.h Make script much friendlier to use 2020-02-26 09:39:03 +09:00
segtext.h More doxygen tweaks 2022-05-19 13:26:45 +09:00
set.h [set] Add a macro to initialize with a static array 2022-06-04 12:06:34 +09:00
sizebuf.h [util] Make sizebuf and msg sizes unisgned 2021-04-04 15:53:53 +09:00
skin.h Make header protection consistent 2020-02-24 12:21:20 +09:00
sound.h [scene] Make entity_t just an entity id for ECS 2022-10-23 22:24:36 +09:00
spritegn.h Make header protection consistent 2020-02-24 12:21:20 +09:00
sys.h Fix a pile of warnings for gcc 12 2022-07-31 17:13:26 +09:00
sys_developer.h [sys] Add some developer flags for cache/hunk/zone 2022-06-03 12:04:27 +09:00
teamplay.h [cvar] Make cvars properly typed 2022-04-24 19:15:22 +09:00
tga.h [image] Set texture type for no-load tga images 2022-05-04 13:50:55 +09:00
va.h [util] Make va return const char * 2021-03-29 17:24:30 +09:00
ver_check.h Make header protection consistent 2020-02-24 12:21:20 +09:00
vid.h [vid] Add a function to set the palette and colormap 2022-11-14 19:39:55 +09:00
wad.h Make header protection consistent 2020-02-24 12:21:20 +09:00
wadfile.h Update for doxygen 1.8.16 2020-02-11 15:22:42 +09:00
winding.h Update for doxygen 1.8.16 2020-02-11 15:22:42 +09:00
zone.h [zone] Add functions to get and set the tag 2022-06-06 12:39:54 +09:00