emersion
7a3f7b3c8a
backend/drm: add support for DRM_MODE_CONNECTOR_DPI
2018-08-21 13:05:38 +01:00
emersion
24212df830
rootston: fix again FreeBSD build
...
Had an outdated copy of wlroots, so missed that one.
2018-08-16 11:22:42 +01:00
emersion
56600804ff
Merge pull request #1189 from agx/ctags-f
...
ctags: use -f instead of -o
2018-08-16 11:11:08 +01:00
emersion
d66d33f5a2
Merge pull request #1188 from emersion/freebsd-fixes
...
Fix build on FreeBSD
2018-08-16 11:02:21 +01:00
Guido Günther
570970db64
ctags: use -f instead of -o
...
The later does not exist on FreeBSD
See #725
2018-08-16 12:01:06 +02:00
emersion
f86f1daf9a
Fix build on FreeBSD
2018-08-16 10:54:45 +01:00
emersion
1a73baac94
Merge pull request #1187 from ammen99/master
...
move wlr_drm_connector_add_mode to wlr/backend/drm.h
2018-08-13 14:43:57 +01:00
Ilia Bozhinov
4486b52aa8
move wlr_drm_connector_add_mode to wlr/backend/drm.h
2018-08-13 10:55:42 +03:00
emersion
4ed6ee0a4d
Merge pull request #1184 from sdilts/add-default-output-size
...
Keep X11 backend windows from having an invalid size
2018-08-11 08:41:29 +01:00
sdilts
8e7df5eb88
Fix xcb_create_window parameters
...
Set the window width and height, not the location of the window.
2018-08-10 18:05:34 -06:00
Genki Sky
11d440972d
rootston: Double fork for keyboard bindings
...
This avoids leaving around zombies, without having to setup SIGCHLD
handler (which interferes with other fork/waitpid calls).
2018-08-10 10:59:50 -04:00
sdilts
da79fef5f7
Add guard for changing the size of X11 backend windows
...
Events that set the window to either a width or height of zero are now
ignored and logged.
2018-08-09 22:09:48 -06:00
sdilts
55cca6deaa
Set default output size for X11 backend
...
Fixes issue #1170
Also set the created window size to match the output size.
2018-08-09 22:05:18 -06:00
emersion
d2814c1795
Merge pull request #1183 from ammen99/master
...
remove dangling declaration of wlr_xdg_surface_popup_get_position()
2018-08-09 12:56:49 +01:00
Ilia Bozhinov
88e9dbe32e
remove dangling declaration of wlr_xdg_surface_popup_get_position()
2018-08-09 07:55:20 +03:00
Scott Anderson
ce0ab4d4b5
Merge pull request #1182 from ammen99/master
...
session: load GPU devices even if they have zero connectors
2018-08-09 08:37:05 +12:00
Ilia Bozhinov
cb42e16f64
session: load GPU devices even if they have zero crtcs/connectors/encoders
...
On some systems (most notably laptops with two GPUs) there are GPUs that
don't have attached outputs. However, we still want to load those GPUs
because they could still be used by the compositor for rendering.
2018-08-08 07:34:12 +03:00
Drew DeVault
28b0a4065b
Merge pull request #1179 from emersion/rootston-toggle-decoration-mode
...
rootston: add keybinding to toggle decoration mode
2018-08-06 08:11:06 -04:00
emersion
9d0e37f768
rootston: add keybinding to toggle decoration mode
2018-08-06 08:35:14 +01:00
emersion
84e87be6df
Merge pull request #1177 from ascent12/check_prime
...
Check for DRM prime
2018-08-05 07:46:29 +01:00
Scott Anderson
2d8f53affd
Check for DRM prime
...
This will indicate the user properly when multi-GPU is not supported by
their GPU driver.
2018-08-05 18:25:25 +12:00
Drew DeVault
e8fa25e027
Merge pull request #1168 from manio/multi-gpu
...
Fix support for multiple GPU
2018-08-04 12:16:34 -04:00
Scott Anderson
1a2b3445dc
Remove unused data from gbm_bo userdata
...
These aren't used anymore and crashes when the gbm_bo tries to get
destroyed (e.g. on hotplug).
2018-08-04 17:02:53 +12:00
Scott Anderson
4bee710c30
Fix hardware cursor on secondary GPU
...
Create rendering resources on parent GPU, so that we can sample the
passed in texture properly. The cursor buffer needs to remain on the
same GPU.
2018-08-04 15:08:28 +12:00
Ryan Dwyer
23e2c3c759
Merge pull request #1175 from emersion/fix-xdg-output-layout-destroy
...
xdg-output: fix segfault in handle_layout_destroy
2018-08-03 23:11:11 +10:00
emersion
c4522062f6
xdg-output: fix segfault in handle_layout_destroy
2018-08-03 14:03:53 +01:00
Mariusz Bialonczyk
e547e55be0
multi-gpu: do not flip screens on secondary GPU
...
All screens on secondary GPU in multiple GPU configurations
was flipped 180.
The flipped screens was always on secondary card (the primary card
was always correct).
Tested on nouveau with:
WLR_DRM_DEVICES=/dev/dri/card1:/dev/dri/card2
WLR_DRM_DEVICES=/dev/dri/card2:/dev/dri/card1
The commit is fixing this problem. Now all screens are "normal".
2018-08-03 07:43:22 +02:00
Mariusz Bialonczyk
ad406db21c
gles2: change context when it is not current
...
Texture functions, that create and manipulate textures should switch
the current context if necessary.
thanks to: @emersion
Fixes #934
2018-08-03 07:43:22 +02:00
Mariusz Bialonczyk
15dacebc36
multi-backend: do not expose internal renderers
...
backend_get_renderer() is now returning the renderer of the primary GPU, instead
of its own renderer, since that's the thing which actually does all of the "real"
rendering
wlr_multi_backend_add() is now adding all subbackends (otherwise only one GPU
is handled).
credits: @ascent12
2018-08-03 07:43:22 +02:00
Scott Anderson
eb9c9d8852
Merge pull request #1173 from sdilts/add-missing-libinput
...
Add missing dependency libinput to types/meson.build
2018-08-03 14:58:22 +12:00
sdilts
c95078320c
Add missing dependency libinput to types/meson.build
...
The file `types/tablet_v2/wlr_tablet_v2.c` includes <libinput.h>.
Without this change, libinput.h may not be found on
some systems.
2018-08-02 20:13:48 -06:00
Drew DeVault
1654fc80eb
Merge pull request #1157 from emersion/wlr-gamma-control
...
Implement wlr-gamma-control-unstable-v1
2018-08-02 18:48:09 -04:00
Drew DeVault
0780d7856a
Merge pull request #1171 from emersion/xwayland-document-sigusr1
...
xwayland: document SIGUSR1 handler
2018-08-02 18:40:53 -04:00
emersion
c3afe4f42e
gamma-control-v1: improve error handling
2018-08-02 23:33:59 +01:00
emersion
bbd0fbe573
gamma-control-v1: fix fds not closed
2018-08-02 23:33:59 +01:00
emersion
2ae0575631
examples/gamma-control: fix brightness formula
2018-08-02 23:33:59 +01:00
emersion
b0c32019c3
examples/gamma-control: clamp values, default brightness to 1
2018-08-02 23:33:59 +01:00
emersion
1d97202ec2
examples: add gamma-control
2018-08-02 23:33:59 +01:00
emersion
364afced3e
backend/drm: remove unnecessary casts
2018-08-02 23:33:59 +01:00
emersion
1705316fa7
gamma-control-v1: set O_NONBLOCK, improve error handling style
2018-08-02 23:33:59 +01:00
emersion
73b7111846
gamma-control-v1: reset gamma table when control is destroyed
2018-08-02 23:33:59 +01:00
emersion
2ebecb6727
backend/drm: allow to pass empty gamma ramp to reset it
2018-08-02 23:33:59 +01:00
emersion
e21563ec76
output: document gamma functions
2018-08-02 23:33:59 +01:00
emersion
6e8892d4d7
gamma-control-v1: don't insert control in the list before checking unicity
2018-08-02 23:33:59 +01:00
emersion
a5cab82a0f
rootston: fire up wlr-gamma-control-unstable-v1
2018-08-02 23:33:59 +01:00
emersion
a149c2370a
Implement wlr-gamma-control-unstable-v1
2018-08-02 23:33:04 +01:00
emersion
9dd4388ed9
xwayland: document SIGUSR1 handler
2018-08-02 23:29:34 +01:00
Drew DeVault
5642c5cc8f
Merge pull request #1053 from emersion/xdg-decoration
...
Add xdg-decoration-unstable-v1 support
2018-08-02 09:33:10 -04:00
Brian Ashworth
a3c33e93b8
Merge pull request #1167 from ammen99/master
...
rootston: focus newly-created surfaces
2018-07-29 22:03:53 -04:00
Drew DeVault
1c7957cdc1
Merge pull request #1131 from swaywm/initial-stable
...
Initial pass on API stability guarantees
2018-07-29 19:33:09 -04:00