2780 Commits

Author SHA1 Message Date
libretroadmin
223f063894 Simplify win32_common.c 2023-04-03 20:26:04 +02:00
aliaspider
d3fad528ce
fix memory corruption in d3d11_gfx_init. (#15139) 2023-03-27 16:04:55 +01:00
barbudreadmon
1fb9853a93
(Shaders) pass rotation index to shaders (#15136) 2023-03-26 21:20:27 +01:00
andymcca
989359479c
Fix no on-screen notifications (#15052)
This was broken in commit 083b14b85cb7894f34c66a815e07ba0e2446354a - my bad, as I forgot to re-add the call to sdl_render_msg when reorganising sdl_gfx_frame!
2023-03-03 17:51:29 +01:00
Gabriel Morazán
9b2a4e6c88
(UWP/Xbox) Major Build Overhaul (#15040)
* (UWP) Major Build Overhaul

* (UWP) Add Back Assets

GitHub Desktop is stupid and ignored these files

* (UWP) Fix D3D12 Regression
2023-03-01 14:13:24 +01:00
sonninnos
6622cbb69d
(D3D11/12) Cleanups (#15025) 2023-02-26 13:27:05 +01:00
libretroadmin
51d238875e Get rid of obsolete HAVE_VIDEO_LAYOUT - obsolete spec, was only
ever implemented for OpenGL2 driver, lots of code debt, best to
instead just keep improving the overlay system instead which is
already available for most video drivers
2023-02-23 21:03:41 +01:00
libretroadmin
581b9e0b0d (RSX) Updates to video driver 2023-02-23 16:11:01 +01:00
libretroadmin
7ebab640d7 Cleanups/style nits 2023-02-23 13:15:14 +01:00
OsirizX
c0ccb8cda3
(PSL1GHT) Code cleanup (#15006)
* (PSL1GHT) Use RSX_SHADER_STOCK_BLEND and RSX_SHADER_MENU defines

* (PSL1GHT) Cleanup compiler warnings

* (PSL1GHT) Make sure we compile with librt
2023-02-22 08:14:38 +01:00
warmenhoven
9c2f908d44
Fix initial blurriness on Metal (#15002)
This reverts #14963 and part of #14942. Instead of forcing a size
change on mac the way we do on tvos, bring back the old way of making
two setContentSize calls.
2023-02-21 20:09:21 +01:00
libretroadmin
cdade2860f (PSL1GHT/RSX) Buildfix 2023-02-20 18:45:54 +01:00
libretroadmin
f8db0b86a9 (RSX) Style nits 2023-02-20 18:32:40 +01:00
libretroadmin
a858101b80 (RSX/PSL1GHT) Buildfix 2023-02-20 16:31:46 +01:00
libretroadmin
ed8b378b62 (GL1) Fix signed/unsigned mismatch warnings 2023-02-20 16:29:49 +01:00
libretroadmin
4620b55476 (RSX/PSL1GHT) Cleanups and getting rid of warnings - array bounds exceeding
was troublesome so bumped up max shaders to 10 for now, some style nits in
RSX video driver, variable center_y could be uninitialized so fixed that
in psl1ght_input.c
2023-02-20 16:13:23 +01:00
libretroadmin
a4dda41739 (PSL1GHT) Buildfixes/warning fixes 2023-02-20 15:33:54 +01:00
libretroadmin
fed60c62b6 (PSL1GHT) Newer PSL1GHT versions since Mar 3, 2021 have renamed SetZControl
to SetZMinMaxControl
2023-02-20 14:58:09 +01:00
libretroadmin
7b413b667e (RSX) Silence some warnings 2023-02-20 14:18:40 +01:00
reallibretroadmin
dc35763677 (Mac) Silence warnings 2023-02-18 17:15:52 +01:00
libretroadmin
6624126885 (MSVC) silence warnings 2023-02-18 17:04:23 +01:00
OsirizX
217656454c
[PSL1GHT] Fix video rotation (#14990) 2023-02-18 10:44:58 +01:00
warmenhoven
5685b5a9a1
mFI on OSX (#14975)
This adds mFI as a controller driver for OSX, as well as adding rumble
support for mFI controllers. Also add support for the Home button.

Also fixed a couple warnings.
2023-02-13 21:49:35 +01:00
Hans-Kristian Arntzen
89d2d66e98
[Vulkan] Fix regression with RGB565 and OriginalHistory. (#14968)
Need to let filter chain know that we remapped the format.
Otherwise we end up trying to copy RGBA8888 to RGB565.
2023-02-12 18:10:07 +01:00
libretroadmin
d5dc405ac1 (GL3) Buildfix for GL_DEBUG 2023-02-10 09:21:35 +01:00
OsirizX
0549223677
(PSL1GHT) Add improvements to the RSX driver (#14965)
* remove var error in psl1ght input

* (psl1ght) add modern_alpha_blend and modern_opaque rsx shaders

* (psl1ght) add perf improvements to the rsx driver

* add rsx gfx for psl1ght

* (psl1ght) set rsx as a compatible video driver

* Do xmb menu scaling for psl1ght

* (psl1ght) update Makefile to use latest shaders and more UI menu options
2023-02-10 08:29:45 +01:00
warmenhoven
9195de67c0
Fix metal driver for osx. This is safe to do everywhere. (#14963) 2023-02-10 06:29:23 +01:00
Hans-Kristian Arntzen
a77ada403e
[Vulkan] Use compute shaders to upload RGB565. (#14953)
A compatible path that is still fast. No reason to bother checking for
compat here really.
2023-02-05 19:23:48 +01:00
warmenhoven
338430d1ec
Fix tvos metal driver (#14943)
The drawableSizeWillChange notification was never coming, so the
viewport size was never getting set properly.
2023-02-03 07:32:44 +01:00
warmenhoven
8edbf51323
Fix warnings (#14918) 2023-01-28 17:29:53 +01:00
libretroadmin
7583e3d903 (Vulkan) Some refinements 2023-01-28 16:51:17 +01:00
warmenhoven
af2587b62b
Fix rgui on vulkan on platforms that don't have _pack16 VkFormats (#14916) 2023-01-28 16:47:11 +01:00
libretroadmin
b5244cbfe7 Turn ctr_set_scale_vector into a macro 2023-01-24 23:35:37 +01:00
libretroadmin
e30793b06f (CTR) Remove ctr_set_scale_vector until we actually have a need for it 2023-01-24 23:04:07 +01:00
libretroadmin
fdc47dcdae Remove redundant headers 2023-01-24 22:59:15 +01:00
libretroadmin
e272edc8c0 (SDL2) Cleanups 2023-01-24 21:54:06 +01:00
libretroadmin
4c3fefa2be (GL3) Use flags instead of booleans 2023-01-24 21:35:27 +01:00
libretroadmin
582ed9e9e8 (GL1) Use flags instead of boolean variables 2023-01-24 20:33:41 +01:00
libretroadmin
087e3ec974 (GL1) Inline gl1_bind_texture 2023-01-24 18:55:16 +01:00
libretroadmin
19705a3453 (D3D12) Get rid of some wrapper functions 2023-01-24 18:33:52 +01:00
libretroadmin
1a93bb3844 (Vulkan) Move some code around 2023-01-24 04:40:17 +01:00
libretroadmin
bb48289dd4 (GL3) Move functions over to shader_gl3.cpp and make them static 2023-01-24 04:24:22 +01:00
libretroadmin
6b184a1857 (D3D10) Cleanups - get rid of some inline functions 2023-01-24 03:36:18 +01:00
libretroadmin
9a0ecaab4b Remove some unused variables 2023-01-24 01:18:59 +01:00
warmenhoven
5b4c2c3e12
avoid using _PACK16 pixel formats on platforms without them (#14863) 2023-01-23 21:00:22 +01:00
libretroadmin
571e7cbd67 (GL2) Convert bools to flags 2023-01-23 18:22:13 +01:00
libretroadmin
b23eaba217 Try to use strlcpy/strlcat instead of snprintf when possible 2023-01-22 18:57:17 +01:00
libretroadmin
e10361ed52 Header include cleanups for driver.h 2023-01-09 15:28:15 +01:00
libretroadmin
daa9e352cc Remove asserts 2023-01-09 00:51:05 +01:00
libretroadmin
71019e1121 Remove or move structs never used 2023-01-08 19:50:03 +01:00