Commit Graph

11179 Commits

Author SHA1 Message Date
sonninnos
dd106c4f4a
Show current video + audio drivers in statistics (#15193) 2023-04-14 20:15:54 +02:00
aliaspider
50b9454f69
d3d12: enable blending when drawing the menu. (#15181) 2023-04-11 06:56:48 +01:00
libretroadmin
d48bd7244a Libretro API update - add new context hardware render enums - enables
autodetection of DX12 for PS2 core
2023-04-11 00:54:02 +02:00
Colin Kinloch
f19def349f
(Wayland) Remove splash screen (#15178) 2023-04-10 16:37:48 +02:00
aliaspider
a79dc19b6c
D3D12: move fence signaling out of d3d12_gfx_sync. (#15179) 2023-04-10 16:37:36 +02:00
Colin Kinloch
e8ec3031a8
(Wayland) wp_viewporter + scaling fix (#15176)
* Use wp_viewporter
* Set buffer scale to highest of displays the window is touching
* Fixes fullscreen issue mentioned in #15168
* Simplify process of adding new wayland protocols
2023-04-10 06:29:41 +01:00
aliaspider
0adbd6905f
add D3D12 HW_render support. (#15177) 2023-04-10 01:08:44 +01:00
Colin Kinloch
d625ca3762
(Wayland) Only display splash when necessary (#15168) 2023-04-08 02:41:07 +01:00
CyberLabSystems
364356dde6
CyberLab Custom Blargg NTSC Video Filter Preset Update (#14426)
* Update and rename Blargg_NTSC_SNES_Custom_pseudo_PCE_PSX_SNES_Composite.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_Composite.filt

Change "their" to "his" in the credits because it's the appropriate pronoun.
Remove "PSX" from the filename because it doesn't seem to work with any currently available PSX core.

* Update and rename Blargg_NTSC_SNES_Custom_pseudo_PCE_PSX_SNES_S-Video.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_S-Video.filt

Change "their" to "his" in the credits because it's the appropriate pronoun.
Remove "PSX" from the filename because it doesn't seem to work with any currently available PSX core.

* Update and rename Blargg_NTSC_SNES_Custom_pseudo_PCE_PSX_SNES_RGB.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_RGB.filt

Change "their" to "his" in the credits because it's the appropriate pronoun.
Remove "PSX" from the filename because it doesn't seem to work with any currently available PSX core.

* Update Blargg_NTSC_SNES_Custom_pseudo_MD_S-Video.filt

Change "their" to "his" in the credits because it's the appropriate pronoun.

* Update Blargg_NTSC_SNES_Custom_pseudo_MD_Composite.filt

Change "their" to "his" in the credits because it's the appropriate pronoun.

* Rename Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_Composite.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_PSX_Composite.filt

Change "their" to "his" in the credits because it's the appropriate pronoun.

Revert filename to include "PSX" becsuse it works under certain conditions based on feedback.

* Rename Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_RGB.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_PSX_RGB.filt

Change "their" to "his" in the credits because it's the appropriate pronoun.

Revert filename to include "PSX" becsuse it works under certain conditions based on feedback.

* Rename Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_S-Video.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_PSX_S-Video.filt

Change "their" to "his" in the credits because it's the appropriate pronoun.

Revert filename to include "PSX" becsuse it works under certain conditions based on feedback.

* Delete e -i HEAD~5

Remove because it's just a garbage file.

* Rename Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_PSX_Composite.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_PSX_SNES_Composite.filt

* Rename Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_PSX_RGB.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_PSX_SNES_RGB.filt

* Rename Blargg_NTSC_SNES_Custom_pseudo_PCE_SNES_PSX_S-Video.filt to Blargg_NTSC_SNES_Custom_pseudo_PCE_PSX_SNES_S-Video.filt
2023-04-07 02:08:55 +01:00
OsirizX
6cc05ab5ce
(PSL1GHT) Add overlay support (#15149) 2023-04-04 15:05:59 +01:00
libretroadmin
f46beade21 (Android) Buildfix 2023-04-03 22:47:50 +02:00
libretroadmin
96a4417e38 (Vulkan) vulkan_surface_create - we already set all members of this
struct - memset unnecessary
2023-04-03 20:51:41 +02:00
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
Subs
f24893bcb1
[CRT] Add KMS modeswitch (#15131)
* Prepare to update deps/switchres

* Squashed 'deps/switchres/' content from commit ca72648b32

git-subtree-dir: deps/switchres
git-subtree-split: ca72648b3253eca8c5addf64d1e4aa1c43f5db94

* Add CRT modeswitching to KMS
Display the real refresh rate
Enable the CRT SwitchRes menu
Add another switchres.ini path for Lakka
2023-03-25 11:57:10 +01:00
Colin Kinloch
a6e6ddf425
(Wayland) Update destruction (#15129) 2023-03-24 15:14:56 +01:00
sonninnos
390ee5c3c7
(Win32) Increase maximum window limit (#15125) 2023-03-23 18:02:09 +01:00
sonninnos
8d12ff3cf1
Ensure statistics text is aligned left (#15102) 2023-03-18 14:56:32 +01:00
libretroadmin
b07353a0d9 Put forward declaration in wgl_ctx.c 2023-03-17 16:13:09 +01:00
libretroadmin
2902d11b1a Rewinding code should not be a forced built-in dependency 2023-03-17 16:08:41 +01:00
sonninnos
281ccab6ee
(Win32) Ignore window limiting with fixed position (#15092) 2023-03-13 23:17:47 +01:00
sonninnos
da076faa47
Notification font + statistics adjustments (#15089) 2023-03-13 20:10:10 +01:00
Colin Kinloch
297aa1ff72
(Wayland) Build pointer-constraints and relative-pointer protocols (#15071)
Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
2023-03-09 19:54:36 +01:00
Colin Kinloch
e54495235e
(Wayland) Wait for splash screen configuration (#14485)
* (Wayland) Wait for splash screen configuration

Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>

* (Wayland/libdecor) Remove unnecessary context creation check. Log library load.

Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>

* (Wayland) Bring xdg_toplevel configure in line with libdecor and add icon to splash screen

Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>

---------

Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
2023-03-08 22:56:24 +01:00
Colin Kinloch
e31b7fe6c2
(Wayland) Fix resize check (#15065)
* (Wayland) Fix resize check

Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>

* (Wayland/GL) Correct scaling on resize

Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>

* (Wayland) Fix fullscreen buffers being initially double scaled

Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>

---------

Signed-off-by: Colin Kinloch <colin.kinloch@collabora.com>
2023-03-08 20:08:31 +01:00
sonninnos
17b46b5f93
(Win32) Window size improvements (#15068) 2023-03-07 16:51:08 +01:00
sonninnos
4699d91ed5
(Win32) Use core geometry as window limit (#15060) 2023-03-05 15:21:05 +01:00
libretroadmin
f60b3ec7a1 Fix MSVC error 2023-03-03 20:07:40 +01:00
andymcca
989359479c
Fix no on-screen notifications (#15052)
This was broken in commit 083b14b85c - 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
sonninnos
84691edd3f
(Win32) Limit minimum window size (#15053) 2023-03-03 17:50:30 +01:00
Manuel Alfayate Corchete
6e27b6f571
[Vulkan] Don't clamp the number of requested images. (#15047) 2023-03-03 00:49:02 +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
libretroadmin
0422dfb5b5 Cleanups 2023-02-28 18:32:11 +01:00
HyperspaceMadness
e4a11cff59
Shader Preset - Wildcard Replacement in Paths on Load (#15023)
When a simple preset loads, wildcards which are found in paths inside the presets will 
be replaced with values coming from the current RetroArch context.  This will operate
on both texture paths and reference paths.

This would allow you to do things like have one preset which could be used with the entire list of images from the Bezel Project

E.G. 
    "/shaders/MyBackground_$VID-DRV$ _$CORE$.png" 
would be replaced with
   "/shaders/MyBackground_glcore_YabaSanshiro.png"
If  no file found at that path, the path will revert to the original path, so operates as a fallback
   "/shaders/MyBackground_$VID-DRV$ _$CORE$.png" 

  * Possible wildcards/tokens to be replaced:
 * 
 *   $CONTENT-DIR$ -> Content Directory of the game rom
 * 
 *   $CORE$       -> Core name
 * 
 *   $GAME$       -> Game ROM's name
 * 
 *   $VID-DRV$   -> Video Driver: Currently active driver, possible replacement values:
 *       glcore
 *       gl
 *       vulkan
 *       d3d11
 *       d3d9_hlsl
 *       "N/A"
 * 
 *   $VID-DRV-SHADER-EXT$   -> Video Driver Shader File Extension: The extension of shaders type supported by the current video driver:
 *       cg
 *       glsl
 *       slang
 * 
 *   $VID-DRV-PRESET-EXT$   -> Video Driver Preset File Extension: The extension of shaders type supported by the current video driver:
 *       cgp
 *       glslp
 *       slangp
 * 
 *   $CORE-REQ-ROT$   -> Core Requested Rotation: Rotation the core is requesting, possible replacement values:
 *       CORE-REQ-ROT-0
 *       CORE-REQ-ROT-90
 *       CORE-REQ-ROT-180
 *       CORE-REQ-ROT-270
 * 
 *   $VID-ALLOW-CORE-ROT$   -> Video Allow Core Rotation: Reflects Retroarch's setting allowing the core requested rotation to affect the final rotation:
 *       VID-ALLOW-CORE-ROT-OFF
 *       VID-ALLOW-CORE-ROT-ON
 * 
 *   $VID-USER-ROT$   -> Video User Rotation: Rotation the core is requesting, possible replacement values, does not affect the UI:
 *       VID-USER-ROT-0
 *       VID-USER-ROT-90
 *       VID-USER-ROT-180
 *       VID-USER-ROT-270
 * 
 *   $VID-FINAL-ROT$   -> Video Final Rotation: Rotation which is the sum of the user rotation and the core rotation if it has been allowed, does not affect the UI:
 *       VID-FINAL-ROT-0
 *       VID-FINAL-ROT-90
 *       VID-FINAL-ROT-180
 *       VID-FINAL-ROT-270
 * 
 *   $SCREEN-ORIENT$   -> Screen Orientation: User adjusted screen orientation, will change windows from landscape to portrait, including the Retroarch UI:
 *       SCREEN-ORIENT-0
 *       SCREEN-ORIENT-90
 *       SCREEN-ORIENT-180
 *       SCREEN-ORIENT-270
 * 
 *   $VIEW-ASPECT-ORIENT$   -> Viewport Aspect Orientation: Orientation of the aspect ratio of the RetroArch viewport
 *       VIEW-ASPECT-ORIENT-HORZ
 *       VIEW-ASPECT-ORIENT-VERT
 * 
 *   $CORE-ASPECT-ORIENT$   -> Core Aspect Orientation: Orientation of the aspect ratio requested by the core
 *       CORE-ASPECT-ORIENT-HORZ
 *       CORE-ASPECT-ORIENT-VERT
 * 
 *   $PRESET_DIR$  -> Preset directory's name
 * 
 *   $PRESET$     -> Preset's name
 * 
 * If no wildcards are found within the path, or the path 
 * after replacing the wildcards does not exist on disk,
 * the path returned will be unaffected.
2023-02-26 19:06:57 +01:00
LibretroAdmin
a2f34a6836
Update shader_glsl.c 2023-02-26 19:03:05 +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
7ed1d0760a Revert "(Vulkan) Ignore Fast-Forward Frameskip option (#15011)"
This reverts commit 00c0eda046.
2023-02-23 13:44:17 +01:00
libretroadmin
0f8f871581 (PS3) Update code to use flags 2023-02-23 13:22:28 +01:00
libretroadmin
7ebab640d7 Cleanups/style nits 2023-02-23 13:15:14 +01:00
libretroadmin
3f3262fba3 (PS3) Cleanups - don't assume GLSL is the default shader for PSL1GHT 2023-02-23 10:43:33 +01:00
libretroadmin
57828bf246 Turn some of the logging into _DBG 2023-02-23 00:42:34 +01:00
sonninnos
00c0eda046
(Vulkan) Ignore Fast-Forward Frameskip option (#15011) 2023-02-22 19:43:06 +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
LibretroAdmin
c810520a55
Revert "(Vulkan) Add adaptive vsync support (#14788)" (#15004)
This reverts commit 4543a52be6.
2023-02-21 23:00:06 +01:00
sonninnos
4543a52be6
(Vulkan) Add adaptive vsync support (#14788)
* (Vulkan) Add adaptive vsync support

* (Vulkan) Mailbox presentation case
2023-02-21 22:42:32 +01:00
libretroadmin
22992d7f95 Add function prototype to egl_common.h 2023-02-21 22:26:52 +01:00
libretroadmin
aa9f53659f (EGL) Remove egl_has_config 2023-02-21 22:16:04 +01:00