Commit Graph

296 Commits

Author SHA1 Message Date
sonninnos
a4823f3319 Fix dynamic crop aspect ratio 2024-02-27 06:33:43 +02:00
Eric Warmenhoven
f9fa3eb5e8 Fix Vulkan renderer on Metal.
Vertex attribute binding strides must be aligned to 4 bytes, so says
MoltenVK. So we'll create the quad as R32G32_SFLOAT instead of
R8G8_SNORM.

Also when running a debug build of the core in a debug build of
retroarch in the debugger, the dynamic linker gets very confused about
which spirv-cross functions to call. The easiest way to give it a clue
is to reduce the exported symbol list.

Also fix the debug build on Apple.
2023-05-05 22:27:59 -04:00
BinBashBanana
3f525d7d67 GLES 3.0 Support on HW Renderer
updated makefiles for:
- android
- ios
- emscripten
- rpi4

tested on emscripten, GLES3 must be explicitly enabled for android and ios

fixed some things in glsm (libretro-common)

colors are not 100% perfect on GLES3 due to it not including the 1555 ABGR color format. GLES3 uses 5551 instead.
2022-07-06 18:17:16 -07:00
ds22x
74b5340e17 Prevent crashing when having too many lines 2022-01-23 17:13:48 +01:00
ds22x
36782b026c Make it so you can select between the old and new crop behavior 2021-11-01 17:25:49 +01:00
ds22x
b91e37eb86 Fix some issues with the dynamic overscan cropping 2021-10-03 15:24:42 +02:00
ds22x
cde89c9d35 Make it so the 'crop overscan' option crops and centers according to the vertical and horizontal display ranges (fixes PAL overscan issues in particular). 2021-09-29 21:03:55 +02:00
ds22x
f9c3537f36 Replace space with spaces 2021-09-22 19:42:04 +02:00
ds22x
d4fbadd18b Make 'Additional Cropping' option compatible with the hardware renderers 2021-09-22 19:38:22 +02:00
Hugo Locurcio
00624458fe
Add 18:9, 19:9 and 20:9 widescreen aspect ratio options
These options are intended for mobile devices where aspect ratios
wider than 16:9 recently became widespread.

If currently using a 21:9 or 32:9 aspect ratio, the user will have to
adjust their settings to get their old aspect ratio back.
2021-07-22 12:24:49 +02:00
Zachary Cook
df4797567f Fix debug vulkan compile, fix widescreen_hack_aspect_ratio_setting
reload widescreen_hack_aspect_ratio_setting where widescreen_hack
is reloaded, make 16:9 the default setting when not set, and actually
check when widescreen_hack or widescreen_hack_aspect_ratio_setting has
changed
2021-04-22 07:09:46 -04:00
Margen67
cc82727f5b Fix #256 (Widescreen hack aspect ratio setting)
Adds an option to set the aspect ratio of the widescreen hack. Choices:
 16:10
 16:9 (default)
 21:9
 32:9
2020-12-13 06:19:35 -08:00
twinaphex
42894b5d63 Cut down on stdio.h usage 2020-10-03 21:51:46 +02:00
barbudreadmon
f7fc18ed24
Revert "improve context switching" 2020-10-02 13:28:38 +02:00
Autechre
e771e62e6a
Merge pull request #735 from barbudreadmon/context-switching
improve context switching
2020-10-01 12:10:57 +02:00
JS Deck
6f8751a878 Texture uv adjustment (Vulkan) 2020-09-27 08:02:18 -03:00
JS Deck
9306e348d2 Add options to exclude sprites and 2D polygons from texture filtering 2020-09-26 22:27:08 -03:00
barbudreadmon
1fbfc21feb improve context switching 2020-09-26 19:49:10 +02:00
JS Deck
b8e4e93fab Apply JINC2 change to OpenGl 2020-09-02 11:33:51 -03:00
twinaphex
9839a46682 Fix memory leak 2020-06-30 00:23:26 +02:00
stoofin
7c023980ca added track textures option 2020-06-18 02:42:30 -07:00
twinaphex
6ebadc50ea Logging optimizations 2020-06-17 11:05:20 +02:00
stoofin
cafb14279a wip so far 2020-06-16 22:53:15 +02:00
jdgleaver
d97126561f Add support for frontend message interface v1 2020-05-29 14:43:50 +01:00
Autechre
3acd73e1bd
Revert "sanitize gl context requests" 2020-05-25 21:29:07 +02:00
barbudreadmon
96eafad09d sanitize gl context requests 2020-05-22 17:52:38 +02:00
ggdrt
c7c8ffd3d2 Clean up Fast PAL, add Force NTSC aspect ratio 2020-03-25 00:46:17 -07:00
Lionel Flandrin
e9879662a7 Added "fast PAL" hack to allow PAL games to play at NTSC framerates 2020-03-24 00:18:02 +00:00
ggdrt
c346ec3c7a Clean up recent changes 2020-03-07 19:33:32 -08:00
ggdrt
04daeef580 Implement aspect ratio core option (psx.correct_aspect equivalent)
Beetle PSX implementation of "psx.correct_aspect" introduced in Mednafen
1.24.0-UNSTABLE (no relevant code backported from upstream).
Additionally fixes aspect ratio scaling issues when cropping overscan or
adjusting visible scanlines. "Force 4:3" is left as a legacy option for
users preferring the old inaccurate behavior.
2020-03-04 21:21:16 -08:00
ggdrt
6e90f45ad4 Add option for setting core-reported fps timing 2020-03-01 14:25:26 -08:00
ggdrt
f62af0b8ed Rework UpdateDisplayMode and rsx set_display_mode functions 2020-02-25 13:04:35 -08:00
ggdrt
7d235b9262 Port GP1(05h) command to GL renderer 2020-02-23 23:29:30 -08:00
ggdrt
66ff3830ba parallel-psx: Decouple MDEC and SSAA filter logic 2020-02-21 15:01:00 -08:00
ggdrt
fe3cb3394e VK renderer: Add Display VRAM core option support 2020-02-21 15:00:19 -08:00
ggdrt
e3e511be78 Add GP1(05h) command to rsx and parallel-psx, update rsx_dump
Delay VRAM framebuffer size calculation to latest possible moment in
Vulkan renderer; don't rely on external timing of UpdateDisplayMode.
2020-02-20 20:58:09 -08:00
ggdrt
62b6333173 Add support for forcing hw rendering backend 2020-02-16 15:31:08 -08:00
ggdrt
77e90d573a Add accurate timing macros and report noninterlaced by default 2020-02-14 12:49:30 -08:00
ggdrt
7eb6e97dd7 Eliminate redundant glClear call 2020-02-14 12:49:30 -08:00
ggdrt
2b2e809b97 Add frame duping support to RSX Vulkan 2020-02-14 12:49:30 -08:00
ggdrt
2bcb026ed5 Update READMEs 2019-12-25 11:04:17 -08:00
ggdrt
d63a7aaf52 Restore and update rsx_lib_vulkan 2019-12-13 21:13:51 -08:00
ggdrt
a0b2943329 Restore and update rsx_lib_gl 2019-12-13 21:13:43 -08:00
ggdrt
d3e2f5870e Clean up rsx_intf.h 2019-12-12 20:53:06 -08:00
ggdrt
2557d1ab05 Remove deprecated rsx.h 2019-12-10 23:41:28 -08:00
ggdrt
4dfbbd4951 Adjust lightgun input scaling for PAL and overscan 2019-12-10 10:05:03 -08:00
ggdrt
4e1c6f1c41 Separate core globals from callbacks 2019-12-08 09:26:41 -08:00
ggdrt
0147ae94b7 Add rsx subdirectory README 2019-12-06 09:01:54 -08:00
ggdrt
748d4f80e3 Fix GET_PREFERRED_HW_RENDER handling and fallback
Core now properly falls back to software renderer when requested
hardware context is not Vulkan/OpenGL instead of defaulting to Vulkan
for every context other than OpenGL. Core now also checks each hardware
renderer instead of only Vulkan for frontends that do not support
RETRO_ENVIRONMENT_GET_PREFERRED_HW_RENDER.
2019-12-03 16:52:10 -08:00
ggdrt
edc90765b4 Revert "Changes to core startup. Fixes #553"
This reverts commit b0d55624a5.
2019-11-24 02:23:52 -08:00