Commit graph

1508 commits

Author SHA1 Message Date
Pierre-Loup Griffais
5a11ba7646 SteamOS: refactor cursor management to allow the compositor to hide the cursor when not being moved for a period of time, like Tenfoot does. 2019-09-09 11:02:30 -07:00
Pierre-Loup Griffais
6f3be23b46 SteamOS: Queue an Expose event per frame to never block when there aren't any other events going on; this lets us always smoothly fade to windows that aren't animating. When not in a fade paint_all() returns early without producing a frame and the behavior is the same as before. 2019-09-09 11:02:30 -07:00
Pierre-Loup Griffais
3d43811f37 Fix overlay on games that don't animate at all, like DosBOX titles sitting at the menu. The fade in and out is still not smooth in these cases and pending investigation, but it looks like Steam is blocked on the overlay IPC pipe instead of pumping frames, which has the side effect of setting the opacity that is needed for the smooth fade-in. 2019-09-09 11:02:30 -07:00
Pierre-Loup Griffais
21b4b1f7d5 SteamOS compositor workaround for Thomas was Alone; it can't create the game window FBconfig with its own visual, but it succeeds with the root visual. 2019-09-09 11:02:30 -07:00
Pierre-Loup Griffais
959693bd50 Conditionalize extension usage and grab their entrypoints with GetProcAddress. 2019-09-09 11:02:30 -07:00
johnv
8e98e9ab4a integrate Pierre's latest 2019-09-09 11:02:30 -07:00
johnv
83999cae2f make it build with autotools 2019-09-09 11:02:30 -07:00
Pierre-Loup Griffais
e106321c45 Initial implementation of a compositor for the SteamOS console session.
Used xcompmgr as a starting point, and mostly rewrote everything.

Unlike xcompmgr this is also a window manager.
2019-09-09 11:01:59 -07:00