FlightlessMango
d0a1c4ea07
horizontal view and hud_no_margin
2 years ago
jackun
85007fe0bd
Use separate font atlas for vulkan
...
vkCreateSwapchainKHR and vkQueuePresentKHR may share the same ImGui context accidentally and
vkCreateSwapchainKHR might (re)create font image and destroy old font atlas while vkQueuePresentKHR is still rendering :(
2 years ago
jackun
e132bb9268
Lower api minor version
...
Apparently too new of a version implicit layer might also not get loaded
2 years ago
FlightlessMango
421ca3b57b
mangoapp: don't resize window if fps_only
2 years ago
Trigg
dfad000928
- Unsaved change from XA_ATOM to XA_CARDINAL
2 years ago
trigg
661cb205e4
Add and remove XAtom in gamescope mode
2 years ago
FlightlessMango
17f3ebb7bd
mangoapp: unused previous_pid variable
2 years ago
FlightlessMango
4eb6c83d81
mangoapp: disable checking vulkan layer for now
2 years ago
jackun
a8a0a245e6
Bump layer api version
2 years ago
jackun
f680c28f1f
Generalize control over socket so it works with OpenGL too
2 years ago
jackun
3e6b35560c
Use overlay_new/end_frame with mangoapp
2 years ago
FlightlessMango
6119fa80d1
mangoapp: layer: remove unused get_device_chain_info func
2 years ago
Emil Velikov
1e840f286b
mangohud: initialize the window_size
...
This one seems janky - other frontends (glx/egl LD_PRELOAD, Vulkan)
init their own global window_size.
Although in reality we use the initial data solely to set the imgui
"window" position and we immediatelly overwrite it, with the follow-up
call render_imgui().
Odds are this won't fix the glitchy (re)sizes but it's a step in the
right direction.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
3 years ago
Emil Velikov
74e83c0bba
mangoapp: iconify/restore the window, don't destroy it
...
Currently we're destroying the window, from under the glfw's framework
feet.
Basically we do a use-after-free, as glfwWindowShouldClose() is called
and due to some miracle we don't crash out.
Since we suspend all rendering, there's no need to actually destroy the
window - just iconify/restore it. A simple show/hide was attempted but
empirically did not work.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
3 years ago
Emil Velikov
40a1758518
mangoapp: reuse shutdown() helper
...
Use the helper across the board, instead of open-coding it.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
3 years ago
Emil Velikov
fc7a426d67
mangoapp: explicitly handle 0 over the protocol
...
Receiving 0 indicates no-op/keep as-is. Add a trivial self-describing
two-liner.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
3 years ago
Emil Velikov
f2b991cccd
mangoapp: make internal function static
...
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
3 years ago
Emil Velikov
8482ca00fa
mangoapp: make mangoapp_paused, msgid static
...
Both variables are used within the app alone - make them static to that
unit.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
3 years ago
Emil Velikov
403b0f2154
mangoapp: remove unused ctrl_msgid
...
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
3 years ago
Emil Velikov
5400332d5a
mangoapp: whitespace fixes
...
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
3 years ago
Emil Velikov
5e53342f6c
mangohudctl: rework argv handling, always send valid data
...
Currently, if the user sets attribute we send dummy data to mangohud.
Avoid that by pulling the attrib handling into main and avoiding the
duplicate attribute name checking.
Kill off the no-longer relevant TODO while we're here.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
3 years ago
FlightlessMango
3f92e10c14
mangoapp: fix broken fsr sharpness
3 years ago
FlightlessMango
e6adae8489
mangoapp: fixing some warnings
3 years ago
FlightlessMango
284ae0da2c
mangoapp: layer: remove unused functions
3 years ago
FlightlessMango
7df8918c42
mangoapp: layer: append libdir to json
3 years ago
FlightlessMango
d4064bf6b7
mangoapp: layer: remove unused stuff
3 years ago
FlightlessMango
b064f47d66
mangoapp: vulkan layer
3 years ago
FlightlessMango
0402fa4ab5
mangoapp: fsr_steam_sharpness
3 years ago
FlightlessMango
5c984e7b80
mangoapp: fsr_steam_sharpness
3 years ago
FlightlessMango
3f2db318c5
Some fixes for windows compiling
3 years ago
FlightlessMango
cf8ba8fd63
mangoapp: clean up msg_size
3 years ago
FlightlessMango
d82738b03c
mangoapp: use GAMESCOPE_FOCUSED_APP_GFX instead
3 years ago
jackun
e555a942fb
Use single IO stats instance
3 years ago
FlightlessMango
e12042ca3d
mangoapp: adjust for changed msg size in gamescope
3 years ago
FlightlessMango
e289a55c6f
mangoapp: make sure steam_focused is false when mangoapp_steam
3 years ago
FlightlessMango
316914da8d
mangoapp: fixed mangoapp not respecting no_display
3 years ago
FlightlessMango
5cdedc4671
mangoapp: gamescope debug graphs
3 years ago
FlightlessMango
7740e8430f
mangoapp: clean up unused variable
3 years ago
FlightlessMango
44a335a809
mangoapp: mangoapp_steam bool
3 years ago
FlightlessMango
339f5c0d11
mangoapp: hide when steam is focused
3 years ago
FlightlessMango
4556caf6d3
mangoapp: remove some debug
3 years ago
FlightlessMango
b598d22543
mangoapp: don't write imgui.ini
3 years ago
FlightlessMango
61fb9267a0
mangoapp: don't use fsr if msg doesn't contain fsr
3 years ago
FlightlessMango
a9f811a207
mangoapp: gamescope fsr
3 years ago
Joshua Ashton
8bc979b53c
mangoapp: Fix janky window size transitions
...
GL apps that use non-normalized coordinates for stuff that will probably do stuff like this a lot in ways that make it hard to precompute the values beforehand make me very upset.
3 years ago
Joshua Ashton
b99817fd2b
mangoapp: Don't redraw if we don't have new frames
3 years ago
Joshua Ashton
da8b0cbad4
mangoapp: Fix usage of notify_one in condition variable
...
This should be outside of the lock_guard scope to avoid a deadlock.
3 years ago
FlightlessMango
639c39cdbb
mangohudctl: expand help message
3 years ago
FlightlessMango
15a5edeb51
mangoapp: fixing up ctl switch statements
3 years ago
FlightlessMango
97f6a00171
mangohudctl and interface
3 years ago