Commit Graph

149 Commits (ecc46d2d4e206b5ccbbb577091f1814acebff1a9)

Author SHA1 Message Date
Stenzek ecc46d2d4e
Qt: Don't draw OSD messages with zero opacity
Saves a blur pass on the first frame.
5 months ago
Stenzek 9eeabd0091
ImGuiManager: Destroy textures before recreating font atlas
Avoids keeping it around for another frame.
5 months ago
Stenzek bbe65219a2
ImGuiManager: Support multiple text fonts 5 months ago
Stenzek 678b6101e7
System: Move more core functionality out of file
This file got way too large and has too much unrelated stuff.
5 months ago
Stenzek 79387759b0
ImGuiManager: Add icon type to OSD message
Allows spinner/persistent icons.
5 months ago
Stenzek bf3ae80ddf
ImGuiManager: Remove redundant texture bind 6 months ago
Stenzek 684d24b145
FullscreenUI: Display PS/Xbox button icons based on current device 7 months ago
Stenzek 088f05726b
FullscreenUI: Add background blur to notifications/menus 7 months ago
Stenzek c5fdea1eed
ImGuiManager: Remove redundant cast 7 months ago
Stenzek be8f38bef6
ImGuiManager: Transition texture layout after font update 7 months ago
Stenzek add30da47a
GPUDevice: Move present result to global namespace
Get rid of some extra includes in headers.
7 months ago
Stenzek 913aaf6023
Settings: Remove persistent OSD message type duration
We don't need to store it.
7 months ago
Stenzek 2fd81f5032
ImGuiManager: Make margins consistent across OSD/achievements 8 months ago
Stenzek a04a312c1a
GPUThread: Rename to VideoThread
Fewer conflicts.
8 months ago
Stenzek df757371e6
WindowInfo: Move prerotation enum to global scope
Enable forward declarations.
8 months ago
Stenzek ac8502ce50
ImGuiManager: Swap fixed-width font to Google Sans Code
More consistent and better looking at low-DPI.
8 months ago
Stenzek 65bb5bc43e
ImGuiManager: Adjust fixed-width font weight based on DPI
Fixed-width fonts seem to look awful at lighter weight on low-DPI
displays.
8 months ago
Stenzek dedc59037f
ImGuiManager: Allow renderer switch without destroying context
Fixes UI getting reset when changing renderers, and works around being
left in an inconsistent state if FSUI wasn't started and renderers are
changed from the ingame settings menu.
8 months ago
Stenzek 81bee3191e
ImGuiManager: Fix possible memory leak on shutdown 8 months ago
Stenzek 0c1f61f783
FullscreenUI: Add option to swap gamepad confirm/cancel buttons 8 months ago
Stenzek a44f202f42
ImGuiManager: Remove another source of truth for window size 8 months ago
Davide Pesavento 39634b3555
FSUI: More consistent icons (#3686) 8 months ago
Stenzek ff0ad1b176
System: Rewrite present skipping
Now can operate in "only if vsync blocks" mode.

Significantly improves frame pacing for fast forward speeds.
8 months ago
Stenzek 4ec6ff7ebc
InputManager: Remove second source of truth for window size 8 months ago
Stenzek 71f46cf8c1
GPUThread: Update core thread window size on core thread
Avoid the barrier when reading it.
8 months ago
Stenzek 5637fc7804
ImGuiManager: Run idle when OSD messages are present
So we don't miss them.
9 months ago
Stenzek 454d33272f
FullscreenUI: Hook up L2/R2 to page up/down 9 months ago
Stenzek bb8179f617
ImGuiManager: Allow repositioning OSD messages 9 months ago
Stenzek 74a8e6653d
FullscreenUI: Fix incorrect state with per-game renderer setting 9 months ago
Stenzek 64d70753fc
ImGuiManager: Use default icons when unspecified 9 months ago
Stenzek 3ff1ea33cf
ImGuiManager: Extract out gradient rect function 9 months ago
Davide Pesavento 6c46b0cfe8
Deps: Update FontAwesome to 7.1.0 9 months ago
Davide Pesavento 84ff881721 Deps: Remove version number from FontAwesome header
Reduces code churn on version bumps.
9 months ago
Stenzek 5933489456
ImGuiManager: Reduce possible false sharing when adding events 9 months ago
Stenzek e2aa1ae24c
Qt: Fix handling of mouse double-click events
- Fixes double-click events with mouse binds getting dropped.
- Fixes early release event when toggling fullscreen.
9 months ago
Stenzek 5b789be901
GPUDevice: Extract texture format to global namespace
Avoid pulling in gpu_texture.h and indirect includes just for this.
9 months ago
Stenzek a43e05472a
Host: Split into multiple files
Translation, actual host, and core for settings management.
9 months ago
Stenzek 7a539ba693
GPUDevice: Reduce GraphicsConfig struct size 9 months ago
Stenzek 86ba9ea3af
ImGuiManager: Add colour gradient to OSD messages 9 months ago
Stenzek 0e0e82d122
ImGuiManager: Apply same change to OSD messages 10 months ago
Stenzek 8e3a65c152
MemoryCard: Show game icon when saving 10 months ago
Stenzek afc019d586
FullscreenUI: Avoid drawing OSD messages over achievement badges 10 months ago
Stenzek ce37f0e751
ImGuiManager: Support non-font icons in OSD 10 months ago
Stenzek db72c78f7c
ImGuiManager: Fix incorrect condition in OSD rendering 10 months ago
Stenzek e02883eabd
Settings: Make OSD message durations customizable 10 months ago
Stenzek 1cc5fe081c
ImGuiManager: Remove duration parameter from OSD messages
Use a type instead.
10 months ago
Stenzek 2290f31ffd
ImGuiManager: Remove multiple sources of truth for prescale/margins 10 months ago
Stenzek 23d45a35db
Data: Swap Roboto Mono for JetBrains Mono
Also move the font license/copyright to the main third-party file.

Most were OFL, not Apache anyway.
10 months ago
Stenzek 042bc7945c
ImGuiManager: Use different OSD title/text colours
And add an early out when there's no messages.
11 months ago
Stenzek 683ccbf216
GPUDevice: Swap ImGui rendering to use UBO 11 months ago