Commit Graph

282 Commits

Author SHA1 Message Date
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
ggdrt
980b24b4ef Update RSX dump and playback for recent additions 2019-11-22 07:19:55 -08:00
ggdrt
f6dd05aafd Fix regression in GL Display VRAM from 26da9f0 2019-11-21 21:46:43 -08:00
ggdrt
ddf68bc9e9 Clean RSX and libretro.cpp options style
Makes cstring comparison style consistent within each file, based on the
most common style for each individual file. RSX uses !strcmp while
libretro.cpp uses strcmp == 0. Also minor whitespace fixes.

Co-authored-by: rz5 <rz5@users.noreply.github.com>
Co-authored-by: ggdrt <45282415+ggdrt@users.noreply.github.com>
2019-11-19 22:39:53 -08:00
ggdrt
49828593ce Add horizontal offset option to GL and VK 2019-11-19 15:54:49 -08:00
ggdrt
26da9f0188 Refactor GL viewport calculation code
GL renderer now respects horizontal display range when crop overscan
setting is enabled.
2019-11-19 15:53:05 -08:00
ggdrt
67872c1529 Clean up RSX interface style
Co-authored-by: rz5 <rz5@users.noreply.github.com>
Co-authored-by: ggdrt <45282415+ggdrt@users.noreply.github.com>
2019-11-19 09:12:21 -08:00
ggdrt
592708520c Implement initial/last scanline options for Vulkan 2019-11-17 19:47:05 -08:00
rz5
b0d55624a5 Changes to core startup. Fixes #553
* Shared memcards and memcard0 method core options are now only checked in retro_load_game and require a restart
* In retro_load_game, rsx_intf_open is called first before check_variables and alloc_surface
* check_variables no longer receives any params
* Ensure none of the renderers call SET_SYSTEM_AV_INFO before we're in retro_run
* Ensure the first iteration of retro_run checks core options even if they weren't updated yet
* Store the upscale shift when calling GPU_Init() and prevent calling delete on a null pointer in GPU_Rescale()
2019-11-15 00:17:53 +00:00
ggdrt
3215862705 Implement display range code for Vulkan renderer
* VK renderer now outputs psx vram fb within proper display area
* Implement and reenable horizontal overscan cropping option
* Update rsx and Vulkan rsx playback for new VK renderer code
2019-11-13 20:47:56 -08:00
ggdrt
7e767567db Gl crop overscan accuracy additions (#559)
* Hide inactive core options for HW renderers

* Remove bounds checking for vertical range in GL renderer to fix accidental edge clamping

* GL crop overscan accuracy additions
2019-11-02 14:20:00 +00:00
ggdrt
957df3856d Implement crop overscan option for GL renderer 2019-10-28 14:10:07 -07:00
ggdrt
df640ed88e Implement initial/last scanline core options for GL renderer 2019-10-28 13:57:08 -07:00
ggdrt
f27cd0f169 Make sure has_software_fb is set by GLRenderer_new 2019-10-27 14:27:42 -07:00
ggdrt
905fc07d86 Adjust display range reset values in GL render for accuracy 2019-10-26 00:38:55 -07:00