emersion
7cbef15206
util: add wlr_ prefix to log symbols
7 years ago
Drew DeVault
be54278207
Merge pull request #1095 from agx/output-add-mode
...
Allow to add additional modes to outputs
7 years ago
Guido Günther
8d72090afe
drm: Allow to add additional modes
...
This allows to add additional modes to the list of available video modes
using VESA Coordinated Video Timing information.
Closes #1080
7 years ago
Drew DeVault
07209d062c
Merge pull request #1104 from VincentVanlaer/logind-fd-leak
...
Close fd's obtained from logind
7 years ago
Vincent Vanlaer
ece58514b4
Close fd's obtained from logind
7 years ago
emersion
2b9cbaddf3
screencopy: add support for frame flags
7 years ago
Dominique Martinet
0c2a64df18
headless add_input_device: fix leak on error
...
Found through static analysis
7 years ago
Dominique Martinet
e5348ad7d3
backend autocreate: fix leak when WLR_BACKENDS is set
...
Found through static analysis
7 years ago
Dominique Martinet
1940c6bbd9
wayland backend: fix width/height == 0 check
...
We cannot handle just one of the two being NULL later down the road
(e.g. divide by zero in matrix projection code),
just ignore any such configure request.
Found through static analysis
7 years ago
Dominique Martinet
266898ca1f
direct session backend: fix closing -1 on error
...
Found through static analysis
7 years ago
Dominique Martinet
bcc2c64c1e
x11 backend init: fix leak on failed XOpenDisplay
...
Found through static analysis
7 years ago
Dominique Martinet
4f7b1382d4
wayland backend seat: fix NULL output check
...
The test was done after dereferencing output in pointer_handle_enter,
just move it up one line.
No reason pointer_handle_leave would not need the check if enter needs
it, add it there.
Found through static analysis.
7 years ago
Dominique Martinet
f0d455f088
drm backend: overflow fixes
...
These operations are done in 32-bit arithmetics before being casted to 64-bit,
thus can overflow before the cast.
Casting early fixes the issue.
Found through static analysis
7 years ago
Drew DeVault
e459fe0ec7
Merge pull request #992 from emersion/screencontent
...
Implement wlr_export_dmabuf_unstable_v1 protocol
7 years ago
Tobias Blass
482fc48c74
FIX: Suprocess loops endlessly when the control socket closes.
...
recvmsg(3) returns 0 if the connection partner has shut down its socket.
The communicate function considered 0 a successful message, though, and
keeps calling recvmsg(3) again and again.
7 years ago
emersion
57548b557a
Merge branch 'master' into screencontent
7 years ago
Scott Anderson
964e0a50be
Check for seat0 properly
7 years ago
Scott Anderson
47985d2dc5
Multiseat fixes
7 years ago
emersion
551700e887
backend/wayland: fix keyboard keys not pressed/released when focus changes
7 years ago
emersion
21928cbe61
Merge branch 'master' into screencontent
7 years ago
emersion
28020ff577
Only allow one modifier per DMA-BUF, split attributes struct in render/
7 years ago
emersion
bd430b8620
backend/drm: support multi-planar DMA-BUFs when exporting
7 years ago
emersion
9e26808c28
output, backend/drm: add wlr_output_export_dmabuf
7 years ago
emersion
79683ee497
backend/drm: better connector cleanup, add more logs
7 years ago
emersion
6eb4b5b54d
Merge pull request #993 from emersion/bind-wl-drm-in-renderer
...
render: bind wl_drm in renderer
7 years ago
Ilia Bozhinov
24cf70ae96
backends: implement custom EGL and renderer initialization
...
Compositors now have more control over how the backend creates its
renderer. Currently all backends create an EGL/GLES2 renderer, so
the necessary attributes for creating the context are passed to a
user-provided callback function. It is responsible for initializing
provided wlr_egl and to return a renderer. On fail, return 0.
Fixes #987
7 years ago
emersion
41130fe54b
render: bind wl_drm in renderer
7 years ago
emersion
9e3dd6b560
backend/wayland: fix segfault when destroying backend before starting it
7 years ago
emersion
75b10cd621
backend: support creating DRM and libinput via WLR_BACKENDS
7 years ago
emersion
007d83c6ee
backend: allow multiple backends in WLR_BACKENDS
7 years ago
emersion
52bd8aa716
backend/multi: disallow multiple renderers at the same time
7 years ago
emersion
a1631dd9ee
backend: add WLR_BACKEND env variable
7 years ago
Markus Ongyerth
6a46fcc6f2
recalculate cursor projection matrix on set_cursor
...
Updates the projection matrix for the cursor plane in the DRM backend,
when the cursor is set, so new cursor are uploaded with the correct
transformation.
7 years ago
emersion
198ad27bd5
backend/wayland: print output name in window title
7 years ago
emersion
0b58579564
Add support for discrete axis values
7 years ago
emersion
13098a18ea
Fix hardware cursors scale & transform
7 years ago
emersion
caf9f9022c
Merge pull request #936 from emersion/full-hardware-cursors
...
output: always use hardware cursors if available
7 years ago
morganamilo
6305e6327f
Fix typos in comments and strings
7 years ago
Guido Günther
1637053ef8
drm: only disable atomic modesetting when WLR_DRM_NO_ATOMIC == 1
...
Don't allow any value of the env var to disable atomic mode setting.
7 years ago
Guido Günther
545d54439d
backend/wayland: don't transform pointer events
...
We do this in a backend independent way in wlr_cursor now.
7 years ago
Guido Günther
6f01c12b40
backend/x11: don't transform pointer events
...
We do this in a backend independent way in wlr_cursor now.
7 years ago
emersion
225d182765
output: always use hardware cursors if available
...
This changes the `wlr_output_impl.set_cursor` function to take a
`wlr_texture` instead of a byte buffer. This simplifies the
DRM and Wayland backends since they were creating textures from
the byte buffer anyway.
With this commit, performance should be improved when moving the
cursor since outputs don't need to be re-rendered anymore.
7 years ago
emersion
178ac8bffe
backend/{wayland,x11}: fix pointer coords for transformed outputs
7 years ago
emersion
62d7337d00
backend/x11: add one pointer per output
7 years ago
emersion
ddac792b61
backend/wayland: only set one pointer listener
7 years ago
emersion
9f8a7c8fc4
backend/wayland: create one virtual pointer per output
7 years ago
emersion
2551ef8871
input-device: add output_name field, populate it from libinput
7 years ago
emersion
f8e0a03451
backend/x11: correctly destroy input devices
7 years ago
emersion
79da4c175e
backend/headless: remove useless destructor
7 years ago
emersion
57c36ddcb3
backend/wayland: add proper error handling to wlr_wl_backend_create
7 years ago