Commit graph

79 commits

Author SHA1 Message Date
Pierre-Loup A. Griffais
a58dfdd203 Only acknowledge frame_done once per commit, otherwise we pull unwanted
frames out of thin air.

Also use dummy ClientMessage events to nudge steamcompmgr's event loop,
Expose events have a meaning and we don't want to confuse some clients.
2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
985d6e40a7 Use actual display name instead of relying on the environment. 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
2bdbd01902 Some cleanup, 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
4a1550b7b0 steamcompmgr only makes sense in the nested X display in this scenario. 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
77d0e72c69 Make commandline coexist across both sides, plumb nested size control. 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
ced1d16f65 No further need for constant event debugging; command-line is now usable. 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
e36f1f6c5b Fix up frame cadence ordering a bit. 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
825db84b13 Make the wayland commit side master of who has valid contents.
And fix a bug that would make overlays flicker.
2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
306583be94 Reinstate normal GameID detection logic, so we can run Steam now. 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
95e132179d Chop off some more concepts that were higher-level than I thought initially. 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
11d50c1618 CHOP 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
77b4a683c0 chop chop (glxgears still works) 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
ef8f14b05e chop (glxgears still works) 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
f919e65c38 Notify XWayland surfaces when we're done with a frame from them.
And remove rootston's output render path. This seems like it was the only
strictly needed thing, frames seem to time out without that. Will probably
find bugs later.
2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
7e9bc2a6a0 Use patched static wlroots as a submodule and subproject.
That should help setting it up on a machine that might want to use normal
wlroots for other things. Resolve a GL symbol conflict now that we're
colocated with wlroots' dynamic loading code.
2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
07c4714234 Won't be needing that anymore. 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
3cf1bd219d Only do libinput if we're not hosted in X. 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
3aac5b9015 Get working input, but steamcompmgr now randomly takes down my X server when
exiting.
2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
5bf32a3335 Use headless backend, give it a dummy output, keyboard and pointer.
I can render an app with the only GPU work coming from steamcompmgr now.
2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
32fe2d5bfb Register GL error callback instead of checking by hand. 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
3a091e864a Process doesn't go away when closing clients anymore. 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
6c04eba8c6 Allow re-import, still consume FDs that fall through the crack.
Lets glxgears animate at 60fps and doesn't leak FDs anymore.
steamcompmgr still goes down when glxgears exits.
2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
6dc724b2cd No idea what that was for, but it can presumably go. 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
617174e4b4 Add placeholder GameID to every window so I can easily test with glxgears. 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
382004513a Finish removing glX stuff, remove path_rendering stuff (with prejudice),
add some freeing of resources.
2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
7c4e06af94 Missed some files. 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
b39c5a67d4 Hook up steamcompmgr output pipeline.
Get steamcompmgr's GL context from EGL and rip out GLX, as we need EGL to
import dma-bufs.

When new buffers are committed to surfaces, push their information to
steamcompmgr (without any feedback for now, fire-and-forget).

Can render games now.
2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
d740ac4d57 Windows render again now that WL_SURFACE_ID is plumbed through steamcompmgr. 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
5b1154f863 Fix warnings on my setup. 2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
86efc186c5 Merge with rootston.
Enable C++ for bits of the code, but nothing that includes wlroots as that
doesn't want to build as C++.

Enable SubstructureRedirectMask mode and handle MapRequest for now; this lets
us get the WL_SURFACE_ID ClientMessages.

This uses a build of wlroots that has its internal XWM ripped out.
2020-01-01 15:30:37 +09:00
Pierre-Loup A. Griffais
137f0838e5 Add initial Meson build system, no install target yet. 2020-01-01 15:28:10 +09:00
Pierre-Loup A. Griffais
b99f04e8a7 Import Debian version 1.35
steamos-compositor (1.35) brewmaster; urgency=medium

  * Crude workaround for Steam login issue.
2020-01-01 15:28:01 +09:00
Pierre-Loup A. Griffais
9f4bc871d2 Import Debian version 1.34
steamos-compositor (1.34) brewmaster; urgency=medium

  * Small tweak to loadargb_cursor to better handle non-premult cursors
2020-01-01 15:26:44 +09:00
Pierre-Loup A. Griffais
4769de3024 Import Debian version 1.33
steamos-compositor (1.33) brewmaster; urgency=medium

  * Prefer HDMI/DP over other types of displays. (patch by Coucouf)
2020-01-01 15:26:44 +09:00
Pierre-Loup A. Griffais
7b43e3ff99 Import Debian version 1.32
steamos-compositor (1.32) brewmaster; urgency=medium

  * Fix a bug where cursor would be auto-hidden even when buttons held
  * Show cursor if a button gets clicked while it's hidden
2020-01-01 15:26:44 +09:00
Pierre-Loup A. Griffais
59f9261aca Import Debian version 1.31
steamos-compositor (1.31) brewmaster; urgency=medium

  * Added support for one than more overlay layers; most opaque one wins.
2020-01-01 15:26:44 +09:00
Pierre-Loup A. Griffais
840e4883a3 Import Debian version 1.30
steamos-compositor (1.30) brewmaster; urgency=medium

  * Added preliminary support for screen magnification.
  * Increase cursor hiding time to 10 seconds.
  * Fix bug while cursor would hide even when moving the mouse if a button was
    held.
2020-01-01 15:26:44 +09:00
Pierre-Loup A. Griffais
34f963a59a Import Debian version 1.29
steamos-compositor (1.29) brewmaster; urgency=medium

  * Tweaking focus and display logic in steamcompmgr to avoid event storms on newer
    X servers. It looks like Damage semantics changed on Xserver 1.16 and we were
    getting unexpected events after XDamageSubtract().
2020-01-01 15:26:44 +09:00
Pierre-Loup A. Griffais
a7deb61fc5 Import Debian version 1.28
steamos-compositor (1.28) brewmaster; urgency=medium

  * Add set_hd_mode.sh helper script, run at start of session; helps get out
    of problematic cases like 30hz refresh rates and non-HD modes
2020-01-01 15:24:35 +09:00
John Vert
601e49f2e5 Import Debian version 1.27 - sidestep to Brewmaster
steamos-compositor (1.27) brewmaster; urgency=medium

  * depend on libudev1 instead of libudev0

steamos-compositor (1.26) brewmaster; urgency=medium

  * compilation fixes

steamos-compositor (1.25) brewmaster; urgency=medium

  * fix missing tab in debian/rules, change Build-Depends from automake to automake1.11
2020-01-01 15:23:18 +09:00
Pierre-Loup Griffais
d740313b06 steamcompmgr documentation fix. 2019-09-09 11:02:32 -07:00
Pierre-Loup Griffais
7c401cd538 SteamOS compositor v1.24 with XCOM fix. 2019-09-09 11:02:32 -07:00
Pierre-Loup Griffais
33a5f82916 SteamOS compositor beta update. 2019-09-09 11:02:32 -07:00
Pierre-Loup Griffais
8ae95f1f37 [SteamOS compositor] Fix overlay flickering problem. 2019-09-09 11:02:32 -07:00
Pierre-Loup Griffais
acbd2c8d7c Fix random flash of corruption when first presenting the overlay or a notification 2019-09-09 11:02:32 -07:00
Pierre-Loup Griffais
e512d3ee1b SteamOS compositor 1.19 with black screen fix for MS games on Intel graphics. 2019-09-09 11:02:32 -07:00
Pierre-Loup Griffais
c26d9e7687 SteamOS compositor 1.18 with hitching fix on toast notifications. 2019-09-09 11:02:32 -07:00
Pierre-Loup Griffais
8ae6046bad SteamOS: add udev_is_boot_vga tool to detect hybrid configs 2019-09-09 11:02:32 -07:00
Pierre-Loup Griffais
a325bad986 steamcompmgr 1.16; fixes "CID the Dummy". 2019-09-09 11:02:32 -07:00
Pierre-Loup Griffais
a50620bace SteamOS: Always sync to vblank to fix tearing on AMD. 2019-09-09 11:02:32 -07:00