Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/ChimeraOS/gamescope
SteamOS session compositing window manager
https://github.com/ChimeraOS/gamescope
064d132c9362817b4398f13bced35ed33559d57a authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Leaves embed tray icon windows to take care of.
2e7f86f80c6572d5daea1b477a7a15a9c2858e9f authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Doesn't actually seem to be used for the newly-mapped Origin setup
window, so hacks have to stay...
Avoid override redirect windows.
Raise new windows, don't focus tiny windows. If we only raised...
d95d4bf7961bdaf89c59edb9d8faac2951021da7 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>Gets scale from steamcompmgr in an extremely safe and elegant way.
575171360b4c63e3b010ffb76491f8bf59d4eae9 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Will do a cosmetic pass later but unblock using Steam windows that use
OS cursor for now.
ASan trace:
==14537==ERROR: AddressSanitizer: alloc-dealloc-mismatch (operator new vs free)...
4524ac3cbb459491bcd0a5e962f055336b7e5178 authored over 4 years ago by Simon Ser <[email protected]>
When directly scanning out game buffers, we need to make sure the game
buffer is suitable for sc...
wlroots headers can mostly be included with extern "C" blocks. Two
exceptions are the use of `st...
453caf76728bd4bed9b3f293f97cdef173e3a2d3 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
44023e25d06864870aa457609a4bf46a25833a09 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
-1 is a truthy value.
d41c8656617b264d33a088a697c83dcf7da902af authored over 4 years ago by Simon Ser <[email protected]>cb540e3fc74c9f94f59313707e6acf8fda2fcc2a authored over 4 years ago by Simon Ser <[email protected]>
stdout isn't flushed on each newline when redirected to a file. stderr
is always line-buffered. ...
cdef160f144aa0fef958b5b8cf375b916a3dd700 authored over 4 years ago by Simon Ser <[email protected]>
This commit fixes two issues.
A first issue is that fbids_in_req was previously populated
drm_c...
We were creating a new DRM blob each page-flip and never destroying it.
Instead, create the mode...
Upstream has new features, incl. support for the alpha property.
384e7770697763119904b37c7539268aa4b41d2a authored over 4 years ago by Simon Ser <[email protected]>References: https://github.com/Plagman/gamescope/issues/49
9353ba11d33c945329dd546433037154ad834bbd authored over 4 years ago by Simon Ser <[email protected]>Use wlr_xwayland_server, which allows enough customization for us.
References: https://github.c...
a69017d08d9d0d59298185cdbef0d282636e1680 authored over 4 years ago by Simon Ser <[email protected]>5ab3129d8e7d1c9d3ce81af94c05fc31cf8070f1 authored over 4 years ago by Simon Ser <[email protected]>
5bab7f6d850579f2075b273cab4e0b9782b1d88d authored over 4 years ago by Simon Ser <[email protected]>
This function takes care of calling drmModeRmFB. In the future it'll
also take care of releasing...
This makes it explicit what "first" and "second" are. This also allows
to add more fields.
02b233429fc4d1fa9020a009adfb15e1a86a8af5 authored over 4 years ago by Simon Ser <[email protected]>
The FDs are guaranteed to be set if wlr_texture_to_dmabuf doesn't return
an error.
This code assumes a single planes. Let's add a safe-guard so that we
don't forget this function ...
This saves us the wlr_dmabuf_attributes juggle and makes it easier to
understand the FDs ownersh...
This ensures we don't leak any FD.
db876af1c419d39676747b506954942e78474a8c authored over 4 years ago by Simon Ser <[email protected]>8c2b9849ec310d6651c4d5d92b3a2e90282fb76e authored over 4 years ago by Simon Ser <[email protected]>
51259bba1c1e6c54f6adc4492519da2eb54e8829 authored over 4 years ago by Simon Ser <[email protected]>
Makes it easier to spot mistakes.
b84750e77576494877daf0e305c95ed1f3b4ee3c authored over 4 years ago by Simon Ser <[email protected]>This reverts commit de16a27674b658426d066a69e6928678a33fd5ef.
09bc171666695173d7a72d819bb4a4e82c6f1af8 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>810972b0740d113054d23ebf4b1f48ee467fc089 authored over 4 years ago by Rajdeep Nanua <[email protected]>
We don't actually support Wayland clients (yet). Xwayland doesn't use
WAYLAND_DISPLAY, the compo...
Bail out on DRM error.
1e82803574f9ff527348261c575392799c739f2b authored over 4 years ago by Simon Ser <[email protected]>
Only works when switching to fbcon for now. We need to stop
page-flipping when the DRM FD is pau...
16d74b8e1521e4afe38cd7c6d24f49fdcc7f9605 authored over 4 years ago by Simon Ser <[email protected]>
fc72bda2cfa1a9ee59147d69ed714b620a0c2e7d authored over 4 years ago by Simon Ser <[email protected]>
267036754cb1b63f8ed1a7774cd5c053d29ac1e4 authored over 4 years ago by Simon Ser <[email protected]>
win objects are allocated with `new`, so they need to be de-allocated
with `delete` instead of `...
7733ffb7692ad8b4f2dba2aa027af5def6deede8 authored over 4 years ago by Simon Ser <[email protected]>
It probably won't be as simple as that, but we'll see...
de16a27674b658426d066a69e6928678a33fd5ef authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>37d30471af8248650dc26ffe40cf7c40828c2c84 authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>
Offsets would wrap around and go nuts past the center, only top-left would
work.
Remove drag stickiness, delay before click, etc.
Also let the session specify which button is p...
29eaa16785007b1b88fa429e31c7fca5c58d49cc authored over 4 years ago by Pierre-Loup A. Griffais <[email protected]>This reverts commit 0f8d67999482e5e5ac240d67928ab592116ff3b7.
f416279a1c1143c5d758d9e2f64ecb451e8eb80b authored over 4 years ago by Roman Gilg <[email protected]>This reverts commit a4fa525255ff2da19470c5b6f98434c2e701fb63.
5868f205022154c896bfb04c9d004bea6b037220 authored over 4 years ago by Roman Gilg <[email protected]>This reverts commit d4361f4649257cb88a628840a1dee29bb8355748.
b23b5b7189d1b85c0233c225c54dde15c993be9a authored over 4 years ago by Roman Gilg <[email protected]>This reverts commit 9547ec9a1556febd6d288203f4ac31bae9999039.
c2058733e3830b63d6a87ec2f696481165ac2289 authored over 4 years ago by Roman Gilg <[email protected]>This reverts commit be1ff3d903c4c0985830fd6ec045aedea47aff88.
4565766cc5e84f05d03f524bfd9b6b0e802db08b authored over 4 years ago by Roman Gilg <[email protected]>This has now recent change to include protocols directory explicitly.
beb29e251e252b3e4fdb9bcd074227967b83c84c authored almost 5 years ago by Roman Gilg <[email protected]>
Activate libliftoff's internal log when layers are enabled and the parameter
'd' is provided.
N...
8833e07618556341a3ed441cf98f4089c5a3337b authored almost 5 years ago by Roman Gilg <[email protected]>
Restructure the loop a bit to have less code repetition and make it easier to
understand.
Trying to layer onto planes should be continued when fb ids are set and
not the other way around...
It is enough to get the global cursor location when repainting it. So we do not
need to query th...
Instead of going through the X11 connection just set the pointer position
directly via global va...
In nested mode we can use the same code path as in drm mode now.
d4361f4649257cb88a628840a1dee29bb8355748 authored almost 5 years ago by Roman Gilg <[email protected]>
With cursor position going through global variables we do not need to query the
global position ...
For now only available on drm backend. For nested there is currently a
different workaround acti...
Many code editiors remove trailing whitespace automatically making patches
difficult since often...
Puts all cursor relevant code into a single class. Preparation for getting
cursor movement direc...
Use build in glslangValidator functionally to generate shader include
95caa5c2fc8c8b9b787a7e799bc3192631589306 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>file.
This removes the xxd dependency.
bc39b20a8f1b117044d9639103d5134993b41704 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
We could garbage-collect fences before/during their wait.
1bcd0bd93048ed472ba12918a34d9e1d7f26bba2 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>578849e429c93a0bd101b30d49371bdc7729b14c authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
That was probably a leak on app exit before?
06db3d903a191f5ddde9be19ff292e09c55f309c authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
Now that we can process everything in the queue, we can make the flow
a bit simpler.
7df0b8655ae4829161976011e77437d80df9f448 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
Trying to push a new frame with no valid contents would send an
uninitialized texture handle to ...
Otherwise the input thread can start doing wayland stuff before it's safe.
2b111b43dd40090da608030fbf4a07ba789868c7 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>b4893840eb51573f53620e087b2cd77a9d08bf2e authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
For now just mark one repaint per refresh interval without any particular
alignment, as that can...
If running non-vsynced apps, we might need to keep track of 500+ in-flight
commits. Maybe make d...
Keep track of a queue of commits and use the wait thread to get notified
when they're done.
Onl...
ca954bb2375aa14c4afbd1995f2a869d85fa62f0 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>4f01be3bf5a287f1e3cf1946547a89fcc00cf26a authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
dfba164987b18ed4dc125a9c4b6bd1d13b6c4582 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
We can't quite get away with it now that we want to kick off several
waits at the same time.
982e61e28d0429f0d2045f43a640693319386e20 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
Like the standalone input configurator view.
dde441b13f98739aa50f023bab9eb82725e08510 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
- Add a commit wait thread that just waits for the work associated with
an in-bound dma-buff...
cf16f59e842cafd1cc9cee638fca3191c86586c7 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
1830b53c2eb1f67008347b5530fa35356a8fe31c authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
74143121cd98c0f67b9b530fe09ea09db1cfc3de authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
99af917abc4d2cc0226c29050c1c7f4f6b09cd6c authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
6183a705647698bbf614813c23e70b32a9c78e3c authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
4dcacf3cc1923bad04271fdba457133c819d6771 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
d6ff686b640c8d6267e8b930b6374dbfe00dc5d8 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
And let the SDL window be resizeable too.
188ea49e514799537e8f04369deb1cad634fc19e authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>e5d888d56e3948a9c29e7064805930570e1d7e61 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
It's a requirement of wlroots, since it uses it to get notified of
Xwayland readiness.
Having o...
228c5e049ca323463cac1ebed141ebb6778e0768 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>This more or less makes everything pretty playable.
3ca59feabd7ce293084390f177c86191a5302e98 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
We don't want to unhide the cursor in the small period of time where we
don't have a foxued window.
This isn't a perfect fix, see comment.
6481e1d7778ff026f66271a8713ee5e6ec152c82 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>303c7025471b93e8ad5df659751bfe60bc86d349 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
7b2220003cd46364ef6e1afc14f683764b5efe24 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
Output window size, scaling filter, border.
TODO: make output dynamically resizeable, and some ...
90fa0770e85f707683a5a6f4e83facd56db70958 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>19e2e511b6d7426b679c51b8a509146848275a9c authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>
That seems to make DC happier when we change the src and dst rects.
b306714f3cddb0ee0d554fb418c99b8244ccaa77 authored almost 5 years ago by Pierre-Loup A. Griffais <[email protected]>