RetroArch/libretro-common
MajorPainTheCactus 3c6bdfd0d8
Fixed numerous issues with HDR (#12979)
* Fix for warning and fix for incorrect comment

* Fixed contrast to be more correct - now scales from 0-10 linearly and behaves more the way you'd expect it to - changed name to ditch legacy settings users may have
Added ability to skip inverse tonemapper to the shader via the constant buffer using 'inverse_tonemap' - set to 0.0f to skip
Fixed potential bug when swapping between hdr and sdr and the bit depth not being set correctly
Fixed dx11's blend, rasterizer and topology states not being set to the sames when using hdr and leaving the menu - caused issues with PCSX2's Shadow of the Colossus
Added numerous helper functions to help create the correct values to colour the UI - normally the white UI elements should be rendered at paper white not max brightness for various reasons

* Fix stylistic issues - * Don't use camelcase for variables and function names * Use '(void)' for function declarations instead of () in C code * Declare variables at the top of a function or code block * Make sure functions that return a value always have a default return path that is not encapsulated by an else block * Use more unique names for retro_math functions which are less likely to overlap with other libraries' function symbols

Co-authored-by: twinaphex <libretro@gmail.com>
2021-09-13 16:54:50 +02:00
..
audio Simplify float_to_s16/s16_to_float functions for ARM NEON ASM codepath 2021-09-04 00:39:49 +02:00
cdrom libretro-common/cdrom: Add missing compatibility header 2020-10-05 10:28:45 +01:00
compat Revert "Windows long paths fix" 2020-12-24 16:40:15 +01:00
crt Squashed 'libretro-common/' changes from edffe4d147..1548bee835 2018-06-25 23:55:40 +02:00
dynamic (UWP) Fix regression in dylib 2020-11-18 01:44:32 +01:00
encodings Simplify mb_to_mb_string_alloc 2020-08-29 05:21:48 +02:00
features cpu detection detection vfp unit for Darwin. 2021-04-24 22:58:14 +01:00
file (libretro-common) fill_pathname_abbreviated_or_relative - fix warning - 2021-08-11 18:50:03 +02:00
formats Prefer using snprintf instead of insecure sprintf 2021-05-18 15:14:08 +02:00
gfx Put fprintfs and printfs behind ifndef NDEBUG 2020-06-17 11:22:31 +02:00
glsym (libretro-common) Update copyright 2020-01-31 15:43:42 +01:00
hash (libretro-common) Rename rhash to lrc_hash 2020-12-28 19:55:54 +01:00
include Fixed numerous issues with HDR (#12979) 2021-09-13 16:54:50 +02:00
libco Add PS2 libco 2021-02-07 21:16:24 +01:00
lists (nested_list) Fix heap-use-after-free errors due to pointer invalidation when resizing internal RBUF arrays 2021-08-09 23:08:17 +01:00
media Use strcpy_literal in more places 2020-09-19 23:59:06 +02:00
memmap (libretro-common) Update copyright 2020-01-31 15:43:42 +01:00
net add helper function for accessing connection method 2021-07-27 21:02:14 -06:00
playlists Fix playlist label sanitisation 2021-03-26 12:22:10 +00:00
queues Adding a generic queue and linked list. 2021-05-05 10:41:13 -07:00
rthreads Basic rs90 build 2021-07-13 11:36:48 -05:00
samples Add core options translation scripts 2021-09-02 19:07:28 +02:00
streams Initial support for tweaking CPU governors/scaling policies 2021-05-01 18:35:38 +02:00
string improve message wrapping with CJK languages 2021-06-03 21:09:35 +09:00
test improve message wrapping with CJK languages 2021-06-03 21:09:35 +09:00
time Cleanups/comments 2020-07-07 05:58:07 +02:00
utils Moving more stuff from samples to tests 2021-05-10 19:45:50 +02:00
vfs fix issue where it would fail to get a handle for a file as the path was too long 2021-09-12 20:26:09 +01:00
vulkan Squeeze extra blank lines with cat(1). 2019-01-08 11:04:58 -08:00
.gitignore Updates 2020-12-13 21:21:21 +01:00
Makefile.test Moving more stuff from samples to tests 2021-05-10 19:45:50 +02:00