Commit Graph

257 Commits

Author SHA1 Message Date
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
ggdrt
15ae14e45e Update rsx_dump for set_display_mode and implement rsx_dump for set_display_range 2019-10-26 00:38:55 -07:00
ggdrt
f2a3e034eb Implement framebuffer height padding for GL renderer
* Implement fb height padding for 240p titles in GL renderer

* Implement fb height padding for 480i titles in GL renderer

* Prevent padding conflict with VRAM display option

* Implement PAL height padding
2019-10-26 00:37:28 -07:00
Rinnegatamante
2efd828148 Added support for frontends not having GET_PREFERRED_HW_RENDER. 2019-10-18 14:18:36 +02:00
Rinnegatamante
78b1ab5f0b Enable gl driver support for hw context. 2019-10-16 19:43:17 +02:00
Rinnegatamante
8362984340 Properly negotiating with frontend for driver to use. 2019-10-15 17:38:30 +02:00
jdgleaver
ea74b744cc Remove HW-specific core options from SW build 2019-08-05 17:56:14 +01:00
twinaphex
1f4e633d59 Try to fix Android build 2019-07-10 01:52:05 +02:00
twinaphex
04f53dd75d Merge rsx_lib_vulkan.cpp into rsx_intf.cpp 2019-07-08 05:53:07 +02:00
twinaphex
02ad161cae (RSX Vulkan) Cleanup 2019-07-08 05:23:06 +02:00
twinaphex
73316281c6 (RSX intf) Cleanups 2019-07-08 04:57:03 +02:00
twinaphex
3cf93676be (GL) Cleanups 2019-07-08 04:40:36 +02:00
twinaphex
2370b43e95 Cleanups 2019-07-07 08:52:23 +02:00
twinaphex
2c1c8db069 (GL) Cleanups 2019-07-07 08:21:22 +02:00
twinaphex
dc4b35dd25 Simplify rsx_lib_soft 2019-07-07 07:51:59 +02:00
rz5
432feab541 Force SW renderer when firmware is missing. Allows showing ugui error message when 'renderer' is set to 'hardware'. 2019-06-16 21:00:13 +01:00
Hans-Kristian Arntzen
99e83f88f1 Support SSAA with 16x IR.
64-tap resolve shader, why not?
2018-12-15 22:19:03 +01:00
Hans-Kristian Arntzen
f8f972f425 Use libretro log callbacks. 2018-12-15 21:48:02 +01:00
Hans-Kristian Arntzen
b88758e5bd Add MSAA option. 2018-12-15 17:34:59 +01:00
Hans-Kristian Arntzen
ca0c77e3aa Rewrite MSAA support. 2018-12-15 17:06:26 +01:00
Hans-Kristian Arntzen
f1a87ac6b2 Manually create VkDevice so we can enable custom features. 2018-12-15 14:08:31 +01:00
Hans-Kristian Arntzen
824f5f3a5f Experiment with GPU readbacks.
Avoids having to rely on software raster to run in parallel with HW rendering.
2018-12-14 17:54:13 +01:00
Hans-Kristian Arntzen
8a638ce971 Clamp IR factor to 8 with SSAA.
Looks better as we don't have a 16x16 block resolver yet.
2018-12-13 16:45:25 +01:00
Hans-Kristian Arntzen
66af578061 Use correct max_width/height scaling format for super sampling. 2018-12-13 15:43:03 +01:00
Hans-Kristian Arntzen
fdff9565fb Add native ABGR1555 dithered scanout. 2018-12-13 15:24:31 +01:00
Hans-Kristian Arntzen
bc9ec6de83 Add MDEC YUV Chroma filter.
Removes some pixellation from certain MDEC sequences which feature stark
red or blue detail (RE1 for example).

This filtering is done in one pass, so it's rather heavy, but the
resolution is low enough it shouldn't matter.
2018-12-13 13:17:25 +01:00