Commit Graph

9204 Commits (cached-interpreter)
 

Author SHA1 Message Date
Stenzek 0129679bb0
GPU: Reduce overdraw when using overlays
Clear the four borders individually instead of a blit over the
entire texture.
6 months ago
Stenzek 0166939609
PostProcessing/GLSL: Clear alpha to 1.0 6 months ago
Stenzek be75a97efe
GPUDevice: Fix swap chain clear colour normalization 6 months ago
Stenzek af58740f5d
System: Always display OSD warning messages
I regretted what I did in f2720b98dd
less than a week after I pushed the change.

As a compromise, only display the unsafe settings warnings on startup.
6 months ago
Stenzek 4e588bb6c1
GPU: Fix incorrect interface for postfx config 6 months ago
Stenzek 78f6e11b91
GPUThread: Skip debug window update on Android 6 months ago
Stenzek 19ca9cb47d
GPU/HW: Use texture loads for native resolution
Hopefully work around sampling precision issues in older AMD drivers
and Mali Midgard if we're lucky. But I don't have anything this old
to verify with.
6 months ago
Stenzek 080eccd8fc
GPUThread: Shutdown instead of panicing on switch failure 6 months ago
Stenzek 9c4b2112ae
GPU: Fix incorrect screen draw rect
Fixes loading screen in Alundra 2, as well as incorrect effective
PAR when using None crop mode.
6 months ago
Stenzek fb3e290133
GPUDevice: Move exclusive fullscreen to features
Also fixes it not enabling in D3D12 renderer.
6 months ago
Stenzek 389276bb03
GPUDevice: Normalize supports_texture_buffers => texture_buffers 6 months ago
Stenzek 9d4789e082
FullscreenUI: Fix blank screen flicker starting game
Also returns to whichever menu the system boot was initiated from.
6 months ago
Stenzek 17b0da7283
GameList: URL encode custom properties paths with brackets
Fixes custom properties not applying on restart to games with
brackets in their paths.
6 months ago
Stenzek 4b20fc6922
Path: Fix several errors in URLEncode/Decode and add tests 6 months ago
Stenzek 78902d7632
FullscreenUI: Fix several more unsafe reads 6 months ago
Stenzek cc0ccf2648
Data: Update resources 6 months ago
Stenzek f219b47e98
FullscreenUI: Use constant width/height scale on Android
Fixes achievement notifications being differently sized
depending on the screen rotation.
6 months ago
Stenzek 7c2488c942
PostProcessing/GLSL: Fix image moved off-screen with alignment 6 months ago
Stenzek c03b6f3d84
Misc: Replace isspace() usage with StringUtil::IsWhitespace()
Avoids the UB if the character is negative (e.g. reading from a binary
file), as well as locale-specific rubbish.
6 months ago
Stenzek 21b167d382
CDImage: Tidy up Open() method 6 months ago
Stenzek 7905793ae0
GPU: Use screen alignment for overlay instead of display rect 6 months ago
Stenzek 8c5c0e6114
Common: Fix Vector2->Vector4 zero-extend constructor
And add loadl(const GSVector2i&) as an easier-to-read overload.
6 months ago
Stenzek ade8bf7b3b
GPU: Fix overlay+postprocessing combination 6 months ago
Stenzek 9fdeeb3fb6
GPU: Add alpha blending support to overlay 6 months ago
Stenzek 9b8d2a88de
System: Required changes for Android 6 months ago
Stenzek e1cbb50c64
GPU: Fix various capture/screenshot issues
- Simplify functions for rendering display.

- Post-processing should only when the target size matches the window.
  Otherwise the shaders are constantly recompiled.

- Include border overlay in capture/screenshots when above condition
  is satisfied.

- Relax video alignment size when using screen resolution + auto.

- Fix "Internal Resolution (Uncorrected)" capture mode.
6 months ago
Stenzek 725dcea05a
GPU: Fix crash toggling border overlays 6 months ago
Stenzek 6131ddbefe
GPU: Fill in unused/padded area in overlays 6 months ago
Stenzek 88b43370dc
GPUDevice: Replace explicit GL_PUSH/GL_POP with nested GL_SCOPE 6 months ago
Stenzek d62261e7a4
GPUDevice: Allow nested GL_SCOPE macros 6 months ago
Stenzek 7fcf0a3283
README: Update feature list for 2025 6 months ago
Stenzek 313f653fe0
Data: Add one example overlay 6 months ago
Stenzek e0a9bbe600
PostProcessing: Move into GPU presenter
Means that the renderer can be changed without reloading shaders,
and speeds up config change detection.
6 months ago
Stenzek d589696eff
PostProcessing: Get rid of GPU-dependent globals 6 months ago
Stenzek 338d29d271
GPUDevice: Move empty/null texture to base class 6 months ago
Stenzek 609fa5c7d7
GPUDevice: Add sampler cache to base class
Removes per-backend bookkeeping in D3D12 and Vulkan.
6 months ago
Stenzek da13579356
GPU: Align presenter/backends to cache line 6 months ago
Stenzek dd9788262e
GPU: Refactor display presentation workflow
Adds the ability to set overlays, and fixes postfx with prerotation.
6 months ago
Stenzek 6cba825bac
System: Add fatal error shutdown path
Switch to a null backend and shut down the system instead of crashing.
6 months ago
Stenzek d52bf795e4
GPU: Split backend into Backend+Presenter 6 months ago
Stenzek 8f19ac2dee
System: Set rapidyaml error handlers on startup
That way it can be used in multiple places.
6 months ago
Stenzek 08d2586a86
System: Allow host to set async worker count
For regtest.
6 months ago
Stenzek e41f179108
PostProcessing: Fix erroneous reload message 6 months ago
Stenzek 1481c1d231
System: Post-processing is shut down on GPU thread 6 months ago
Stenzek b9822602b2
FullscreenUI: Show game icons in game list 6 months ago
Stenzek f98b904c50
FullscreenUI: Add 'Set Cover Image' to game list 6 months ago
Stenzek 7cc47551a4
FullscreenUI: Fix parent scroll resetting on directory change 6 months ago
Stenzek e34d23c8e7
FullscreenUI: Implicitly close non-multichoice dialogs
Also fixes disc swap using a multichoice instead of single.
6 months ago
Stenzek a7ab53f02c
GPU: Fix GLSL ES compile error with weave deinterlacing 6 months ago
Stenzek 43e7be902c
Misc: Add missing error reporting to a couple of WriteBinaryFiles() 6 months ago