* 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>
The UI is intentionally left at 16x. Going too high **will** make you
run out VRAM and your system will start acting strangely. But for those
people who really want to do it, you can go 32x in Vulkan with the SDL
frontend, or by setting it in the ini.
Also gets rid of the delay on the GPU side for writing to VRAM (doesn't
make sense), and it's not needed since we slice the block transfers now.
Fixes palette corruption in Vigilante 8, and missing rider in
Championship Motocross 2001 featuring Ricky Carmichael.
* CPU/Recompiler: Use rel32 call where possible for no-args
* JitCodeBuffer: Support using preallocated buffer
* CPU/Recompiler/AArch64: Use bl instead of blr for short branches
* CPU/CodeCache: Allocate recompiler buffer in program space
This means we don't need 64-bit moves for every call out of the
recompiler.
* GTE: Don't store as u16 and load as u32
* CPU/Recompiler: Add methods to emit global load/stores
* GTE: Convert class to namespace
* CPU/Recompiler: Call GTE functions directly
* Settings: Turn into a global variable
* GPU: Replace local pointers with global
* InterruptController: Turn into a global pointer
* System: Replace local pointers with global
* Timers: Turn into a global instance
* DMA: Turn into a global instance
* SPU: Turn into a global instance
* CDROM: Turn into a global instance
* MDEC: Turn into a global instance
* Pad: Turn into a global instance
* SIO: Turn into a global instance
* CDROM: Move audio FIFO to the heap
* CPU/Recompiler: Drop ASMFunctions
No longer needed since we have code in the same 4GB window.
* CPUCodeCache: Turn class into namespace
* Bus: Local pointer -> global pointers
* CPU: Turn class into namespace
* Bus: Turn into namespace
* GTE: Store registers in CPU state struct
Allows relative addressing on ARM.
* CPU/Recompiler: Align code storage to page size
* CPU/Recompiler: Fix relative branches on A64
* HostInterface: Local references to global
* System: Turn into a namespace, move events out
* Add guard pages
* Android: Fix build