Lee Bousfield
09b3fd5932
drm: Fix multi-GPU support for Nvidia ( #147 )
...
* allocator: Don't force linear for multigpu if unsupported
* drm: Use an intermediate CPU buffer for blit if necessary
* drm: Add comment and cleanup style a bit
* drm: Fix formatting from comment addition
* drm: Use std::vector and std::span for intermediateBuf
* drm: Fix style and add null check
* drm: Remove TODO about pixel buf format
2025-03-02 03:07:00 +01:00
Lee Bousfield
76508fe1ec
drm: Use RAII to manage EGL context ( #150 )
2025-02-28 02:32:20 +01:00
Ikalco
ecd2c813e0
drm: only allow multigpu blit to implcit, not all external formats ( #143 )
2025-02-03 20:40:52 +01:00
Honkazel
343178ba45
core: Compiler fixes and options ( #141 )
...
* reorder ctors
* sign-compare
* Add some compile options from Hyprland
2025-02-02 13:46:00 +01:00
Ikalco
95506e561d
egl/drm: consolidate EGL init/state ( #138 )
...
* move renderer to EGLRenderer
* consolidate EGL state and initialization
* move over eglSync
* unbreak abi
2025-02-01 16:17:49 +01:00
a0553cd65e
headless/wayland: emit present events after commit
...
fixes https://github.com/hyprwm/Hyprland/issues/8087
2025-01-28 23:34:19 +00:00
Honkazel
4edeb99390
core: add clang-tidy ( #135 )
2025-01-22 22:39:30 +01:00
maround95
03677f8561
core: GPU hotplug support ( #130 )
2025-01-10 18:39:08 +00:00
Ikalco
9fc2d8e1fb
drm: allow multigpu blit from explicit to implicit ( #114 )
2024-12-09 22:14:39 +01: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
Vaxry
71d49670fe
drm: clear buffer on creation for scanout DRM buffers ( #51 )
2024-08-17 19:42:51 +01:00
Jan Beich
131ed05f99
drm: add missing include to fix BSD ( #42 )
...
src/backend/drm/Renderer.cpp:504:13: error: use of undeclared identifier 'close'
504 | close(dupFd);
| ^
src/backend/drm/Renderer.cpp:532:13: error: use of undeclared identifier 'close'
532 | close(egl.lastBlitSyncFD);
| ^
2024-08-06 22:06:30 +02:00
6f5adc0568
drm: s
...
upport explicit sync with multi-gpu destinations
will break o
n mgpu nvidia before 560 driver
2024-08-05 00:27:09 +02:00
Vaxry
07eb70afb1
gbm: Nvidia fixes for scanout gbm allocation ( #27 )
...
* nv fixes
* fix
2024-07-24 18:41:13 +02:00
8d73016db8
drm/renderer: use the duped fd for gl
2024-07-12 23:23:39 +02:00
59fc21940d
drm/renderer: properly save texture data in attachment
2024-07-12 17:31:28 +02:00
45bea6dab2
drm/renderer: support external rendering
2024-07-12 17:20:08 +02:00
27008ef767
drm: avoid using unsupported modifiers for mgpu
2024-07-12 16:32:08 +02:00
47d95b8a73
drm/renderer: log modifier in createEGLImage
2024-07-12 15:56:32 +02:00
7bbdf32fb8
drm/renderer: handle external formats
...
shoutout nvidia...
2024-07-12 11:16:47 +02:00
4fd590af94
drm: fix synchronization on amd
2024-07-11 23:00:56 +02:00
d619af4971
drm: better handle drm blits
2024-07-11 22:17:57 +02:00
c4a5fafe76
drm: properly blit multigpu surfaces
2024-07-11 20:41:57 +02:00