libretroadmin
3873ee74d7
- Get rid of unused GetEffectiveDisplayResolution/GetFullDisplayResolution
...
- Get rid of RendererStats
2022-06-24 20:06:14 +02:00
libretroadmin
f4b55de2a8
Reduce more reliance on file_system.h/FileSystem and remove
...
more logs
2022-06-24 08:23:21 +02:00
libretroadmin
3c0b044d91
Remove cpu_disasm.cpp/.h
2022-06-24 07:54:25 +02:00
libretroadmin
a644b95125
Remove WITH_IMGUI
2022-06-24 01:30:27 +02:00
DarthMew
b4c3d31f28
Revert https://github.com/libretro/swanstation/pull/43 , fixes 'Use Software Renderer For Readbacks'
2022-01-21 21:14:41 +01:00
DarthMew
be4783514a
reapply swanstation commits to latest upstream
2021-10-14 23:30:13 +02:00
Connor McLaughlin
628dc36e77
GPU: Add GPU::GetFullDisplayResolution()
2021-08-24 11:57:09 +10:00
Jake Stine
6566e665df
1X and 4X Software Up-Rendering Feature Added ( #43 )
...
* 2X and 4X Software Up-Rendering Feature Added
What this change includes:
- 2X software uprender
- 4X software uprender (mostly untested, but yolo)
- significant perf improvements to all SW rendering, including native res
- config setting '[GPU].SoftwareUprender'
What this change is missing:
- UI integration. It can only be enabled from the settings.ini file at the moment
- Testing. I only checked four games so far
* SW Uprender 2x Fixed.
Mainly two typos, one in SetPixel, and one in a template parameter, caused the problems.
I did a bunch of var renaming and cleanup along the way.
* Add preliminary support for on-the-fly resolution change, rename and refactor some vars
* SW uprender: simplified so HW/SW share same setting.
* Fixed crash caused by bad malloc from on-the-fly res change refactor
* Fixed another crash. Bad math typo.
* Fix mode bad math in ReadVRAM
* Fix 4x rendering (mostly) - gradients are off, but could be SW integer precision issue.
hooks up proper software display buffer texture allocation.
* Fix FMVs rendering on host 16bpp display buffers
This bug varies by user's PC hardware and OS. Hard to verify and reproduce. >_<
* Fix hardcoded upscale factor
* Reduce diff size a bit
Co-authored-by: Jean-André Santoni <jean.andre.santoni@gmail.com>
2021-07-29 17:22:51 +07:00
Connor McLaughlin
70209db402
GPU/HW: Implement oversized VRAM fills in hardware
...
Fixes downscaling in Bugs and Taz PAL.
2021-07-21 19:24:10 +10:00
Connor McLaughlin
096a92ba84
GPU/HW: Simplify shader compile progress updates
2021-07-11 13:21:41 +10:00
Connor McLaughlin
defce709da
GPU/HW: Don't allow adaptive downsampling at non-pow2 scales
2021-06-25 00:19:14 +10:00
Connor McLaughlin
815146e7d8
GPU/HW: Fix incorrect blend factor
...
Regression from 75e6c175de
2021-06-17 20:04:05 +10:00
Connor McLaughlin
75e6c175de
GPU/HW: Elide redundant UBO updates on draw mode change
2021-06-15 23:10:49 +10:00
Connor McLaughlin
179a7aea89
GPU/HW: Assume 240/288p for auto scale on start with all borders
2021-05-31 03:48:38 +10:00
Connor McLaughlin
245dd5b27a
GPU/HW: Fix crash with oversized writes and sw readback
2021-05-20 14:14:26 +10:00
Connor McLaughlin
5d877250e9
GPU/HW: Add an option to use software renderer for readbacks
2021-05-20 13:28:36 +10:00
Connor McLaughlin
df5de7730c
GPU/HW: Disable depth buffering on transparent polygons
...
These are the most likely to be coplanar and cause issues.
2021-03-30 01:40:05 +10:00
Connor McLaughlin
ddea2818d9
Qt: Add renderer/resolution to status bar
2021-03-28 13:47:53 +10:00
Connor McLaughlin
b13c51a2e2
GPU/SW: Use new 5-to-8 converters for RGBA8 display
2021-03-18 13:00:58 +10:00
Connor McLaughlin
c043643c4d
GPU/HW: Fix typo in IncludeVRAMDirtyRectangle() name
2021-02-07 20:00:16 +10:00
Connor McLaughlin
837fb6128b
GPU/HW: Fix mask bit when rendering with transparency and no DSB
...
Fixes some sprites in Bloody Roar on Mali GPUs.
2021-02-06 20:14:28 +10:00
Connor McLaughlin
516d685dd0
System: Add memory-only save states and rewind
2021-01-25 01:15:45 +10:00
Connor McLaughlin
a927bfbe50
GPU/HW: Flush after each primitive for B-F transparency
...
Slow, but necessary for some games such as Suikoden II, where it draws
multiple polygons to the same area on screen with different transparency
modes.
2021-01-20 01:08:36 +10:00
Connor McLaughlin
40257e5b20
GPU/HW: Don't set m_pgxp_depth_buffer when PGXP is disabled
...
Fixes text corruption in Castlevania when PGXP is disabled and depth
buffer is enabled.
2021-01-01 17:49:20 +10:00
Connor McLaughlin
3cb2cd8235
GPU: Add adaptive and box downsampling modes
2020-12-30 17:41:39 +10:00
Connor McLaughlin
d187c8b08d
GPU/HW: Fix a potential case where depth isn't cleared on viewport change
2020-12-26 00:47:03 +10:00
Connor McLaughlin
aa1543271e
GPU: Support emulating a depth buffer from PGXP depth values
2020-12-23 01:39:49 +10:00
Connor McLaughlin
7b6d30a994
GPU/HW: Fix possible VRAM corruption when live switching resolutions
...
Mask bit was getting lost based on guest state.
2020-12-17 01:20:06 +10:00
Connor McLaughlin
5e05a14f97
GPU: Fix incorrect draw time approximation of lines
...
Fixes flickering pre-mission screen in Omega Boost.
2020-12-06 00:35:54 +10:00
Connor McLaughlin
b45bee5954
libretro: Work around crash in RetroArch Vulkan driver
2020-11-25 23:06:41 +10:00
Connor McLaughlin
07dbc5a80d
GPU/HW: Draw opaque before semitransparent for reverse subtract
...
Fixes missing shadows in Suikoden II.
2020-11-22 13:46:20 +10:00
Connor McLaughlin
e06f85a328
GPU: Fix VRAM palette changes not being detected in hw renderer
...
Fixes wall texture animation in Mega Man Legends.
2020-11-22 13:22:29 +10:00
Connor McLaughlin
2595e31575
GPU: Split software to frontend/backend
2020-11-21 18:39:04 +10:00
Connor McLaughlin
03d4f80883
GPU: Move enums/types into separate file
2020-11-21 18:39:04 +10:00
Connor McLaughlin
d468814a6d
GPU: Disable texture filters when dual-source blend is unsupported
2020-11-11 01:02:40 +10:00
Connor McLaughlin
ae1e4b1b8f
GPU: Add chroma smoothing for 24-bit display enhancement
2020-11-03 16:17:45 +10:00
Connor McLaughlin
f2aa343cae
GPU/HW: Fix SSAA being enabled when it's not supported
2020-10-31 15:12:12 +10:00
Connor McLaughlin
2eaebd8921
GPU: Implement support for multisample antialiasing
2020-10-31 14:27:58 +10:00
Albert Liu
f69889264d
Core: Make some additional OSD messages translatable
2020-10-22 02:07:48 -07:00
Connor McLaughlin
50b025c75a
GPU: Use triangle area for ticks rather than bbox
...
Fixes slow transitions in Tales of Phantasia.
2020-10-04 00:12:01 +10:00
Connor McLaughlin
cacf7a7cc9
GPU: Precompute texture window expression [SAVEVERSION+]
2020-09-30 23:03:52 +10:00
Connor McLaughlin
605992f294
Fix Android build
2020-09-12 00:35:38 +10:00
Connor McLaughlin
6f250a4ff7
GPU/HW: Add JINC2 and xBRZ texture filtering options
...
Shaders ported from beetle-psx.
2020-09-12 00:26:34 +10:00
Connor McLaughlin
13e3095801
Core: Don't link to imgui for libretro core
2020-09-01 12:22:32 +10:00
Connor McLaughlin
10a46a7fd8
OSD: Add option to show display resolution
2020-08-16 00:20:11 +10:00
Connor McLaughlin
26aa627deb
GPU/HW: Include resolution in scale change message
2020-08-16 00:20:11 +10:00
Connor McLaughlin
17a1719450
GPU/HW: Fix incorrect texel offset when upscaling
...
Fixes incorrectly coloured triangles in Tomb Raider.
2020-08-12 02:27:52 +10:00
Connor McLaughlin
5c6e92cdfc
GPU/HW: Disable coordinate clamping when unnecessary
2020-08-10 23:28:37 +10:00
Connor McLaughlin
b95ce993e0
GPU/HW: Clamp interpolated UVs to polygon limits
...
Fixes texture filtering and PGXP issues in some games.
2020-08-10 23:28:37 +10:00
Connor McLaughlin
23df239469
GPU/HW: Debug build compile fix
2020-08-03 03:26:00 +10:00