Commit Graph

107 Commits

Author SHA1 Message Date
Mihai Fufezan 0bc6b4e450
CI: disable tests 2024-07-01 19:14:37 +03:00
Vaxry d1e48322ed wayland: avoid leaving the swapchain null on late displays 2024-07-01 14:59:16 +02:00
Vaxry 13f94112aa core: allow specifying names for outputs 2024-07-01 14:52:50 +02:00
Vaxry 51cd6f4374 Headless: Add backend 2024-07-01 14:33:05 +02:00
Vaxry b8fc53e69d wayland: handle close events 2024-07-01 13:06:41 +02:00
Mihai Fufezan aadc5dd5e6
CI/Nix: init 2024-07-01 10:54:19 +03:00
Mihai Fufezan 19c19d36e9
Nix: init 2024-07-01 10:52:16 +03:00
Vaxry cef415f033 drm/legacy: avoid crashing on missing crtcs 2024-06-30 21:43:18 +02:00
Vaxry 25836ee88e drm: reset on beginning of DRM
We do not set atomic props for everything, so all else should be reset
2024-06-30 20:54:11 +02:00
Vaxry c19bf35c02 drm/backend: idle improvements and drm fixes 2024-06-30 19:04:14 +02:00
Vaxry a313f6f0e4 session: fix missing break in eventtype 2024-06-29 20:02:12 +02:00
Vaxry 3ffa774f12 drm: deny implicit modifiers for the cursor plane 2024-06-29 19:28:51 +02:00
Vaxry ffeea4bed2 gbm: attempt implicit buffers when modifiers fail 2024-06-29 19:26:04 +02:00
Vaxry 9c4bb5d2ea gbm: log modifiers 2024-06-29 18:22:23 +02:00
Vaxry d0b4e69eda libinput: fix invalid use of axis func 2024-06-29 18:20:08 +02:00
Vaxry c7fa62afe8 libinput: add switch support 2024-06-29 18:10:21 +02:00
Vaxry 84b936b21e libinput: implement gesture and touch 2024-06-29 15:10:34 +02:00
Vaxry 903f31ec58 drm: use a colon for separating device lists 2024-06-28 23:38:01 +02:00
Vaxry 57e100c802 drm: fix cursor being stuck invisible 2024-06-28 21:34:31 +02:00
Vaxry 320a6d40a7 drm: reimport buffers when on a secondary gpu 2024-06-28 21:21:40 +02:00
Vaxry 8ecf8773db drm: fix minor oopsie 2024-06-28 18:33:16 +02:00
Vaxry 9096cd0e8e drm: more logging, minor cleanups 2024-06-28 18:03:04 +02:00
Vaxry 0ffcb7fa74 backend: avoid out_of_range on iterating options 2024-06-28 17:35:43 +02:00
Vaxry 40f6fa5173 drm: very initial work on multigpu 2024-06-28 17:13:03 +02:00
Vaxry 944b0465fa drm: misc/atomic fixes
atomic: launches, but mode blobs are broken

fixed frame events being signaled too often
2024-06-28 14:02:56 +02:00
Vaxry 55ac96271f DRM: preliminary atomic support
doesn't fucking work yet
2024-06-27 21:48:23 +02:00
Vaxry 511600133c backend: rework event loop api 2024-06-27 00:07:59 +02:00
Vaxry 461d33583a drm: reject double-pf commits only with a buffer or when modesetting 2024-06-26 23:21:02 +02:00
Vaxry 25ee42673f backend: allow iterating impls 2024-06-26 22:35:14 +02:00
Vaxry f6d4c5e6a3 drm: prettify bitwise ops 2024-06-26 22:25:45 +02:00
Vaxry a03c2af877 drm: reject unimportable buffers early 2024-06-26 22:25:13 +02:00
Vaxry 13caeb2bd1 swapchain: improve default format guessing 2024-06-26 22:18:33 +02:00
Vaxry 3dbff4025c allocator: allow format-less allocations
will pick a format
2024-06-26 19:42:39 +02:00
Vaxry 41b1b28ce1 drm: Implement hardware cursors 2024-06-26 19:26:38 +02:00
Vaxry 0027280d27 drm: ignore crtc-less connectors in scanConnectors 2024-06-25 23:01:11 +02:00
Vaxry aa0c2157e8 drm: adjust drmfb storage 2024-06-25 20:30:00 +02:00
Vaxry 6cfa0652c8 backend: avoid crashing on session-less 2024-06-25 19:59:34 +02:00
Vaxry 70f4321a93 drm/legacy: fix crash on null mode commit 2024-06-25 18:34:44 +02:00
Vaxry c8c1e6ae3f session: fixup a few missing nullchecks 2024-06-25 18:09:53 +02:00
Vaxry 1e4fd47865 Session: Added support for pointers and keyboards
Via libinput, of course.
2024-06-25 17:59:47 +02:00
Vaxry 3e2fe425e4 session: add vt switching 2024-06-25 13:38:25 +02:00
Vaxry 917d48153a drm: fixes for hotplugging monitors and vt 2024-06-25 13:36:21 +02:00
Vaxry d44aaec26f drm: add vt restore code and adaptive sync 2024-06-25 13:23:31 +02:00
Vaxry 2e0052a21d DRM: Steady progress on getting a usable session
modesetting, rendering, etc. Hyprland now renders properly, although input devices are yet to be implemented.
2024-06-24 23:22:02 +02:00
Vaxry f888bfb6e4 DRM: Init DRM/Libinput session code
Adds the bare basic of DRM code, which only initializes the environment atm. We cannot render yet.
2024-06-23 19:40:40 +02:00
Vaxry edbec62fbd output: add gammaSize query to output 2024-06-22 17:40:21 +02:00
Vaxry 03ed93e8b5 output: rework state 2024-06-22 17:31:01 +02:00
Vaxry 229fd3a036 wayland/core: add support for hw cursors 2024-06-22 16:50:30 +02:00
Vaxry d435736fa7 wayland: emit commit event 2024-06-21 18:37:09 +02:00
Vaxry d24f4e2f42 input: add leds func to keyboard 2024-06-21 16:45:22 +02:00