Commit Graph

750 Commits (a25d5dcd2fc9d32a9cba1b0e97f9ecdc69c72e2a)

Author SHA1 Message Date
Stenzek 21aef088ed
XInputSource: Arrays to std::array and forward generic axis 2 years ago
Stenzek 9d3c56fe6c
ImGuiManager: Fix data races in input forwarding 2 years ago
Stenzek 17e8930e94
ImGuiManager: Pack state based on thread access 2 years ago
Stenzek 3621705933
Achievements: Ensure loading old states behave the same as new 2 years ago
Stenzek 19ee37cd10
FullscreenUI: Render notifications on top of OSD 2 years ago
Stenzek e43d7046ba
Achievements: Attempt relogin on system boot
And display an error notification if login fails, instead of
invalidating the token.
2 years ago
Stenzek c43533f8d8
FullscreenUI: Extend achievement overlays to screen margins
Fixes overlays getting caught in rounded corners on Android.
2 years ago
Stenzek 36590f3c71
InputManager: Fix crash on controller connect on Windows 2 years ago
Stenzek 234e1f721f
FullscreenUI: Improve controller settings page
- Add 'Clear Bindings' menu item.
- Show icons in controller types.
- Add confirmation to Reset Settings.
2 years ago
Stenzek d6ce322eba
Controller: Use additional icons 2 years ago
Stenzek e6c0725656
InputManager: Hold lock while manipulating devices/sources
Since we're enumerating on the GPU thread now, need to protect it.
2 years ago
Stenzek 2d63b34d48
Qt: Add icons/decorations to input devices 2 years ago
Stenzek 6f9caa6b12
InputManager: Add proper binds for vibration motors
Instead of the janky "vibration capabilities" flag.

Fixes the "Clear Mappings" button not applying to vibration motors.
2 years ago
Stenzek 13b85728a0
Qt: Refactor input device/motor tracking
Remove multiple sources of truth.
2 years ago
Stenzek 844287b722
FullscreenUI: Fix scrollbar on choice dialog at some screen sizes
e.g. game list right click
2 years ago
Stenzek 4b0bb9f70d
FullscreenUI: Increase input dialog padding
Way too small.
2 years ago
Stenzek 440aaf2644
FullscreenUI: Modernize achievement popup a bit 2 years ago
Stenzek ee33044f3d
InputManager: Fix SDL sub-options not copying to profile 2 years ago
Stenzek 7ac4a85765
InputManager: Fix per-bind sensitivity/deadzone not copying to profile 2 years ago
Stenzek d25cffebd5
GPU/HW: Disable depth testing with semitransparency
But provide an option to enable it.
2 years ago
Stenzek 9b339d4bff
PostProcessing: Remove StageCount key for game settings
Potentially removes the ini file if it's otherwise empty.
2 years ago
Stenzek 2b4e60a5bf
FullscreenUI: Fix loading screen font 2 years ago
Stenzek b76ebd2a7b
FullscreenUI: Fix scrollbar rounding in choice dialogs 2 years ago
Stenzek 45afc8f7b1
OpenGLDevice: Add map-based stream buffer paths
MapAndSync ends up around 25% faster on ancient Mali drivers without
ARB_buffer_storage support.
2 years ago
Stenzek 0030bc2699
GPUDevice: Ensure 16 byte minimum UBO alignment 2 years ago
Stenzek 4c801c3ff3
GPUDevice: Move size-matches check into ResizeTexture() 2 years ago
Stenzek 0a124ee839
SDLInputSource: Support forwarding touchpad to pointer 2 years ago
Stenzek 2b7b3d8729
SDLInputSource: Allow inverting pad axes
Not really sure where this would happen, but whatever.
2 years ago
Stenzek 092e819a07
ImGuiFullscreen: Move texture loading to async tasks
Two threads instead of one, speeds things up a bit.
2 years ago
Stenzek 1765590a6f
Qt: Add 'Disable Window Rounded Corners' option 2 years ago
Stenzek 5ee069fc63
FullscreenUI: Add option to display PS buttons instead of Xbox 2 years ago
Stenzek 4d6124d41b
Platform: Fix AppImage dbus library mismatch 2 years ago
Stenzek 6043b2331f
Platform: Fix incorrect dbus shared library name
Fixes screensaver inhibit on Linux.
2 years ago
Stenzek 8353a33e89
X11Tools: Fix refresh rate query failing with XLib handle 2 years ago
Stenzek 9054801341
ImGuiManager: Update viewport and display size
Fixes the single frame of incorrect draw size when resizing
the window with the Big Picture UI.
2 years ago
Stenzek 52e6e8ff1e
PostProcessing: Compile warning fix 2 years ago
Stenzek 87e367076d
PostProcessing: Get rid of Timer global 2 years ago
Stenzek ba15a76d7b
ImGuiManager: Pack state in struct 2 years ago
Stenzek d3fe1dfc2c
ImGuiManager: Separate debug and OSD fonts
Don't need to rasterize the former if it's not used, and saves blowing
up the debug window font size if the OSD scale is not 100%.
2 years ago
Stenzek 08cd649187
InputManager: Fix pointer-bound bind movement
i.e. psmouse

Regression from c4e0e7fade
2 years ago
Stenzek 1d63648d68
Qt: Forward text input to aux render windows
Fixes text input in freecam window.
2 years ago
Stenzek f51dda3e66
GPUDevice: Allow this-frame pooled textures when not uploading data
It won't break the render pass.
2 years ago
Stenzek d69d25431e
VulkanDevice: Hopefully fix init under Vulkan 1.0 drivers 2 years ago
Stenzek 1bf076c74f
VulkanDevice: Fix crash on shutdown if swapchain creation fails 2 years ago
Stenzek 401582bb2b
PlatformMisc: Load libdbus at runtime
The static library can't link to the ARM binary when cross-compiling.
2 years ago
Stenzek 8c807118c0
GPUDevice: End timer on command flush
Fixes incorrect GPU usage readings in OpenGL, D3D11 is still
problematic, at least on AMD.
2 years ago
Stenzek 7bb0c7d1fb
InputManager: Fix pointer scale loading 2 years ago
Stenzek 272aa4f933
ImGuiManager: Add Begin/EndTextInput() 2 years ago
Stenzek 00eb54cd15
Achievements: Refactor state serialization
Fix load failures, and eliminate the buffer copy.
2 years ago
Stenzek d010f768c4
FullscreenUI: Fix smooth scrolling in game/state/etc lists 2 years ago
Stenzek 0565320036
ImGuiFullscreen: Enable smooth scrolling for file/choice selectors 2 years ago
Stenzek c4e0e7fade
InputManager: Fix mouse-mapped axes getting stuck
Regression from f0deab2.
2 years ago
Stenzek f3f99f7eac
FullscreenUI: Support renderer swapping without restart 2 years ago
Stenzek 406cd1b6a1
Qt: Shuffle a couple of graphics options
Save a tiny bit of vertical space.
2 years ago
Stenzek 7f1ebd3767
PageFaultHandler: Warning fix 2 years ago
Stenzek 2d659fc3eb
GPU: Move backend work off CPU thread 2 years ago
Stenzek f010d81652
ISOReader: Add XA and raw extraction modes 2 years ago
Stenzek b634eecd21
System: Allow separate configuration for multi-disc games 2 years ago
Stenzek 1f1a664908
InputManager: Add missing call to UpdateHostMouseMode() 2 years ago
Stenzek 6e2223b517
OpenGLDevice: Fix surfaceless context switch 2 years ago
Stenzek fbb411a946
OpenGLDevice: Blacklist fbfetch on PowerVR as well
Apparently it's broken, and I don't have any devices with this chip
so I can't find a potential workaround anyway.
2 years ago
Stenzek 5687dd22bd
PIO: Add basic flash cartridge support 2 years ago
Stenzek 8f19912c64
GPU/ShaderGen: Use sample instead of load at 1x as well
Consistency. Mali ends up ever-so-slightly faster with sample versus
texel loads, apparently.

Also fixes compile errors when using texture filtering on GLSL ES.
2 years ago
Stenzek 9743ce01a0
OpenGLDevice: Support GLES 3.0
Android emulator still doesn't have GLES 3.1...
2 years ago
Stenzek 5eac1e4800
VulkanDevice: Blacklist FSI on AMD Windows
Yay for random GPU resets, it's fine on NVIDIA.
2 years ago
Stenzek 0bb83f6fd7
OpenGLDevice: Fix inverted cache file lock 2 years ago
Stenzek 2e6deca76f
FileSystem: Don't use POSIX locks on Android
Requires SDK 24, and it's pointless anyway.
2 years ago
Stenzek 1bea8817f1
Host: Add ConfirmMessageAsync() 2 years ago
Stenzek 42535591bc
HTTPDownloader: Log errors on request failure 2 years ago
Stenzek 53c08c52ed
ImGuiFullscreen: Pack state in struct 2 years ago
Stenzek 3a661a1c3d
Cheats: Move file clearing into core
Needed for Android.
2 years ago
Stenzek 8c5fadafba
GPUTexture: Add A1BGR5 format
Needed for GLES, since RGB5A1 + BGRA + REV isn't listed as
a valid format.
2 years ago
Stenzek f0c456893c
GPUDevice: Support pre-rotating swap chains 2 years ago
Stenzek acf04ed67a
GPUDevice: Use row-major matrix packing
With column vectors. mul() turns into dot products instead of madds.
2 years ago
Stenzek 9c327af280
GPUDevice: Typedef auto-recycled texture 2 years ago
Stenzek 52feb1a37d
PostProcessing: Improve compile error reporting 2 years ago
Stenzek c9c4307871
FileSystem: Android build fix 2 years ago
Stenzek e9644c7eeb
ISOReader: Add file extraction helpers 2 years ago
Stenzek fe3b4154b7
PostProcessing: Fix crash on UI open with OpenGL 2 years ago
Stenzek 84a1e209ea
OpenGLDevice: Lock pipeline cache on Linux
Prevents multiple processes from trampling on one another.
2 years ago
Stenzek 14ff89d0c0
MetalDevice: Fix incorrect pixel format for RGB5A1 2 years ago
Stenzek e9848a6182
Misc: Collapse more niche log channels 2 years ago
Stenzek 9df59713da
GPUDevice: Put debug messages/scopes behind conditions
And completely compile them out in Release builds.

Gets Devel close to Release in terms of performance.
2 years ago
Stenzek 0faa9cf650
Build: Add Devel configuration
Gets you debug assertions and logging, while still producing an
optimized executable.
2 years ago
Stenzek 7c627a8c83
Controller: Add JogCon
This is probably wrong, but I have no way of testing it with an actual
force feedback wheel.

PRs welcome to improve it further.
2 years ago
Stenzek f9c125c1a1
InputManager: Add ForceFeedbackDevice interface 2 years ago
Stenzek 145ad2db27
GameList: Fix scanning of ELF files 2 years ago
Stenzek fa4dc381ed
GPUDevice: Rename RGBA5551 to RGB5A1
And fix the incorrect format for Vulkan.
2 years ago
Stenzek dfacf9e8db
VulkanDevice: Only create swap chain framebuffer without dynamic rendering 2 years ago
Stenzek aafc029682
Misc: Un-namespace Timer 2 years ago
Stenzek 6cbfab6eca
MetalDevice: Warning fix 2 years ago
Stenzek dac5dd562b
HTTPDownloader: Improve error reporting
Give something human-readable when an error occurs.
2 years ago
Stenzek b97788a35a
PostProcessing/FX: Force native paths for includes 2 years ago
Stenzek 57595c47af
GPU/TextureCache: Move replacement cache onto the GPU
And enforce a maximum. Should sort out the upload spam.
2 years ago
Stenzek 4a650fcce2
GPUDevice: Fix VRAM usage calculation for compressed textures 2 years ago
Stenzek 982dccb990
D3D12Device: Clang warning fixes 2 years ago
Stenzek ae14c8715d
Image: Support decompressing BC1-7 2 years ago
Stenzek 8567293103
Util: Add TextureDecompress 2 years ago
Stenzek 7eb1d4e092
GPUDevice: Support compressed textures 2 years ago
Stenzek 24dfd30839
Image: Refactor to a more generic class 2 years ago