Commit Graph

750 Commits (a25d5dcd2fc9d32a9cba1b0e97f9ecdc69c72e2a)

Author SHA1 Message Date
Stenzek 2663ac9666
CDImage: Improve PBP load error reporting 2 years ago
Stenzek acb355a8c3
CDImage: Make .bin loader track length match .cue
Fixes different hashes for loading single-track .bin games directly.
2 years ago
Stenzek f2cca01e29
ImGuiManager: Fix achievement unlock icon not showing 2 years ago
Stenzek 063bb96e5d
D3D11Device: Always query timestamp before present start
Fixes high GPU usage reporting in D3D11 with AMD GPUs + Optimal Frame
Pacing.
2 years ago
Stenzek bee2dabc77
Misc: Replace stringstream str() with C++20 move str()
No extra heap allocation/copy.
2 years ago
Stenzek c6563a4656
VulkanDevice: Require Vulkan 1.1 for most extension probing
Too much of a headache to deal with these ancient Mali drivers that
support some extensions but not full Vulkan 1.1, and VMA does not
support this scenario.
2 years ago
Stenzek 64d3716cfd
GPU: Further simplify draw rect calculation
Remove "Stretch Vertically" option, it was very confusing to users.

Integer scale will prefer whichever direction gets a larger draw
rectangle/preserves as much detail.
2 years ago
Stenzek b5925ab139
Achievements: Include any codepoints above 0x100 in dynamic range 2 years ago
Stenzek 9b6021b79e
FullscreenUI: Fix progress bar padding in loading screen 2 years ago
Stenzek 128bab29f8
Host: Allow button title override in ConfirmMessageAsync() 2 years ago
Stenzek 4da7692a2d
System: Adjust initialization order to better fit FullscreenUI
Fixes jankyness of rendering the landing page when trying to resume
a game with achievements active, or when loading state.
2 years ago
Stenzek 1b678d0ebc
FullscreenUI: Allow using right mouse button for 'back' 2 years ago
Stenzek 231ba050a2
GPUThread: Switch to borderless if exclusive fullscreen fails
Better than ending up windowed.
2 years ago
Stenzek 5630f3958b
Qt: Fix loading webp images on Windows 2 years ago
Stenzek 0e3668a7bb
GameList: Show achievement information in game list 2 years ago
Stenzek 543704d57c
HTTPDownloader: Drop some log messages to debug 2 years ago
Stenzek 4e97420b3b
InputManager: Switch to SDL3 2 years ago
Stenzek 9113a6e6a6
Qt: Add 'Multiple Devices' to automatic mapping
Also populate the "current device" label with the device from
the config when running the setup wizard, instead of always setting
the label to Keyboard.
2 years ago
Stenzek 0166939609
PostProcessing/GLSL: Clear alpha to 1.0 2 years ago
Stenzek be75a97efe
GPUDevice: Fix swap chain clear colour normalization 2 years ago
Stenzek fb3e290133
GPUDevice: Move exclusive fullscreen to features
Also fixes it not enabling in D3D12 renderer.
2 years ago
Stenzek 389276bb03
GPUDevice: Normalize supports_texture_buffers => texture_buffers 2 years ago
Stenzek f219b47e98
FullscreenUI: Use constant width/height scale on Android
Fixes achievement notifications being differently sized
depending on the screen rotation.
2 years ago
Stenzek 7c2488c942
PostProcessing/GLSL: Fix image moved off-screen with alignment 2 years 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.
2 years ago
Stenzek 21b167d382
CDImage: Tidy up Open() method 2 years ago
Stenzek 9fdeeb3fb6
GPU: Add alpha blending support to overlay 2 years 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.
2 years ago
Stenzek 6131ddbefe
GPU: Fill in unused/padded area in overlays 2 years ago
Stenzek 88b43370dc
GPUDevice: Replace explicit GL_PUSH/GL_POP with nested GL_SCOPE 2 years ago
Stenzek d62261e7a4
GPUDevice: Allow nested GL_SCOPE macros 2 years ago
Stenzek e0a9bbe600
PostProcessing: Move into GPU presenter
Means that the renderer can be changed without reloading shaders,
and speeds up config change detection.
2 years ago
Stenzek d589696eff
PostProcessing: Get rid of GPU-dependent globals 2 years ago
Stenzek 338d29d271
GPUDevice: Move empty/null texture to base class 2 years ago
Stenzek 609fa5c7d7
GPUDevice: Add sampler cache to base class
Removes per-backend bookkeeping in D3D12 and Vulkan.
2 years ago
Stenzek dd9788262e
GPU: Refactor display presentation workflow
Adds the ability to set overlays, and fixes postfx with prerotation.
2 years ago
Stenzek e41f179108
PostProcessing: Fix erroneous reload message 2 years ago
Stenzek 7cc47551a4
FullscreenUI: Fix parent scroll resetting on directory change 2 years ago
Stenzek e34d23c8e7
FullscreenUI: Implicitly close non-multichoice dialogs
Also fixes disc swap using a multichoice instead of single.
2 years ago
Stenzek 227c249d7f
FullscreenUI: Skip SVG prefix if image is not a SVG 2 years ago
Stenzek c34dda39b7
FullscreenUI: Fix invalidating images with size hints 2 years ago
Stenzek 79245b6cd6
FullscreenUI: Make footer text background semitransparent 2 years ago
Stenzek 7973a91438
FullscreenUI: Make menu item backgrounds slightly transparent
Blends with background.
2 years ago
Stenzek 3130e16438
FullscreenUI: Add user-selectable backgrounds 2 years ago
Stenzek 88e18a8659
Image: Fix crash on loading corrupted JPEG file 2 years ago
Stenzek d3854d095e
AnalogController: Use variant vibration icon for large motor 2 years ago
Stenzek aaf2a4b614
InputManager: Adjust scope of constants 2 years ago
Stenzek 462a4a3b50
Controller: Refactor so that GetControllerInfo() can't return null 2 years ago
Stenzek 062776c1c7
ImGuiManager: Map left stick to dpad 2 years ago
Stenzek c45e59fe22
SDLInputSource: Arrays to std::array and forward generic axis 2 years ago