Commit graph

31 commits

Author SHA1 Message Date
Vaxry
e6c392aa2c
DRM: Add a dumb allocator (#104)
Adds a drm_dumb allocator to the DRM allocator for nvidia hw cursors.
2024-11-11 13:04:23 +00:00
b82fdaff91 wayland: log compositor name in startup 2024-09-25 11:45:04 +01:00
16bbbcba65 wayland: send 1280x720 if w/h is 0 in configure 2024-08-31 14:02:08 +02:00
Tom Englund
7cc3d3179c
misc: make for loops const reference (#66)
we all like the dreams and prayers that compilers can optimize things
further with const.
2024-08-27 20:04:26 +02:00
3989aa9b2f wayland: fix possible out-of-range crash in setCursor 2024-08-26 10:30:29 +02:00
romanstingler
9a3161ad4c
drm: fix typo in schedule (#62)
Co-authored-by: Roman Stingler <roman.stingler@waterdrop.com>
2024-08-21 21:59:51 +01:00
Ikalco
0ab8ffa67d
output: fix destroying wl and headless outputs (#32) 2024-07-25 22:14:05 +01:00
601f6cf95c wayland: drop required zwp_linux_dmabuf_v1 version to 4
compatibility reasons, we don't really need 5
2024-07-21 16:22:23 +02:00
UjinT34
7a84686b4a
output: remove redundant needsFrame, allow skip on mouse event (#21) 2024-07-20 20:56:18 +02:00
phonetic112
cebcba4e10
wayland: Add title/class to wayland window (#19) 2024-07-17 11:40:45 +02:00
Ikalco
ad8261ba99
api: add getting monitor render formats (#13) 2024-07-14 11:06:13 +02:00
46ce868cbb wayland: band-aid for frame scheduling
thanks @phonetic112
2024-07-11 20:54:23 +02:00
e3f2c0d5cc drm: split allocators per drm device 2024-07-09 14:10:52 +02:00
UjinT34
a473c5313d
output: add scheduleFrame reasons (#7) 2024-07-07 18:05:05 +02:00
Jan Beich
5d08afba5a Add missing headers for BSDs
src/allocator/GBM.cpp:137:17: error: use of undeclared identifier 'close'
  137 |                 close(attrs.fds.at(j));
      |                 ^
src/allocator/GBM.cpp:159:9: error: use of undeclared identifier 'close'
  159 |         close(attrs.fds.at(i));
      |         ^
src/backend/Session.cpp:141:5: error: use of undeclared identifier 'close'
  141 |     close(fd);
      |     ^
src/backend/Wayland.cpp:44:9: error: use of undeclared identifier 'close'
   44 |         close(fd);
      |         ^
src/backend/Wayland.cpp:63:9: error: use of undeclared identifier 'close'
   63 |         close(drmState.fd);
      |         ^
src/backend/Wayland.cpp:658:13: error: use of undeclared identifier 'close'
  658 |             close(fd);
      |             ^
src/backend/Wayland.cpp:668:13: error: use of undeclared identifier 'close'
  668 |             close(fd);
      |             ^
src/backend/Wayland.cpp:676:9: error: use of undeclared identifier 'close'
  676 |         close(fd);
      |         ^
2024-07-07 16:10:40 +03:00
ea92cba414 backends: set needsFrame for manually scheduled frames 2024-07-06 11:26:42 +02:00
c5cf93a3cc backends: fix needsFrame being stuck 2024-07-05 14:24:10 +02:00
2f220d9301 logging: add AQ_TRACE for omitting trace logs 2024-07-02 14:42:24 +02:00
d1e48322ed wayland: avoid leaving the swapchain null on late displays 2024-07-01 14:59:16 +02:00
13f94112aa core: allow specifying names for outputs 2024-07-01 14:52:50 +02:00
51cd6f4374 Headless: Add backend 2024-07-01 14:33:05 +02:00
b8fc53e69d wayland: handle close events 2024-07-01 13:06:41 +02:00
511600133c backend: rework event loop api 2024-06-27 00:07:59 +02:00
41b1b28ce1 drm: Implement hardware cursors 2024-06-26 19:26:38 +02:00
03ed93e8b5 output: rework state 2024-06-22 17:31:01 +02:00
229fd3a036 wayland/core: add support for hw cursors 2024-06-22 16:50:30 +02:00
d435736fa7 wayland: emit commit event 2024-06-21 18:37:09 +02:00
d175f21619 wayland: various fixes and improvements
also added devices
2024-06-21 15:49:28 +02:00
a7a8840400 Core: More work to get Hyprland working 2024-06-20 19:24:43 +02:00
790ce7dfbf Wayland: primitive but working backend
This implements enough for wayland to be a functioning backend.
2024-06-19 22:40:23 +02:00
01766c0956 Wayland: Initial progress 2024-06-18 18:45:05 +02:00