Scott Anderson
fd3fa760d3
Revert "Revert "Merge pull request #1194 from ascent12/meson_feature""
...
This reverts commit 9c886f20b9
.
6 years ago
Drew DeVault
9c886f20b9
Revert "Merge pull request #1194 from ascent12/meson_feature"
...
This breaks wlroots when used as a meson subproject.
This reverts commit dea311992e
, reversing
changes made to 6db9c4b746
.
6 years ago
Scott Anderson
51892e0d74
Install headers explicitly
6 years ago
Ilia Bozhinov
4486b52aa8
move wlr_drm_connector_add_mode to wlr/backend/drm.h
6 years ago
Drew DeVault
211ae764fd
Initial pass on API stability guarantees
...
This introduces -DWLR_USE_UNSTABLE and adds information regarding the
stability status to all headers. I started with a conservative set of
headers to mark as stable:
- types/wlr_matrix.h
- util/edges.h
- util/log.h
- util/region.h
- xcursor.h
6 years ago
Scott Anderson
47985d2dc5
Multiseat fixes
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
52bd8aa716
backend/multi: disallow multiple renderers at the same time
7 years ago
morganamilo
6305e6327f
Fix typos in comments and strings
7 years ago
emersion
9f8a7c8fc4
backend/wayland: create one virtual pointer per output
7 years ago
emersion
b0d99f5c67
Remove wlr_ prefix from local symbols
7 years ago
emersion
d2ebbd103c
backend: remove wlr_backend_get_egl
7 years ago
emersion
0a7a8cbd1c
backend/x11: add WLR_X11_OUTPUTS support
7 years ago
Drew DeVault
8d490fdb34
Write some more docs
7 years ago
emersion
c2e1474010
Reformat all #include directives
7 years ago
emersion
4fa90b0511
Backport screenshooter fixes from the renderer redesign v1
...
This backports some changes to #319 to fix the screenshooter data
format. This also adds wlr_backend_get_renderer which will be
useful to support multiple renderers.
7 years ago
Markus Ongyerth
dfae5ff98f
Update comment for wlr_headless_backend_create
7 years ago
Markus Ongyerth
c00e9d1416
adds remote argument to wayland backend create
...
Add a remote display name argument to wlr_wl_backend_create.
If NULL is passed to the wayland backend at all times, creating a
wayland backend *after* the compositor was started up, would require
changing the WAYLAND_DISPLAY environment variable.
7 years ago
Tony Crisci
ee39dff1e7
rootston: handle backend creation failed
7 years ago
Tony Crisci
58e69c9ce1
multibackend remove subbackend
7 years ago
Tony Crisci
a937016e38
remove session from multibackend
7 years ago
Dominique Martinet
fcd7062542
x11 backend: add wlr_input_device_is_x11
7 years ago
Dominique Martinet
169bc9fa10
wl backend: add wlr_input_device_is_wl
7 years ago
Dominique Martinet
d9eaca6c9f
headless backend: add wlr_output_is_headless
7 years ago
Dominique Martinet
995383b049
headless backend: add wlr_input_device_is_headless
7 years ago
Dominique Martinet
be95147385
drm backend: add wlr_output_is_drm
7 years ago
Dominique Martinet
dabfe159de
wl backend: add wlr_output_is_wl
7 years ago
Dominique Martinet
f83b16bc17
x11 backend: add wlr_output_is_x11
7 years ago
Dominique Martinet
3e228b0b2a
libinput backend: add wlr_input_device_is_libinput
7 years ago
emersion
4a36ba4bdd
Destroy multi backend on display destroy
7 years ago
emersion
bc5bdb7793
Add headless input devices
7 years ago
emersion
0256de0002
Add full refresh rate support to custom modes
7 years ago
emersion
3970264ccf
Initialize headless backend
7 years ago
emersion
6001235b04
Listen to display destroy in session
...
It's not the backend's responsibility to destroy the session anymore.
7 years ago
Eric Molitor
5be11a5c95
Remove VLA from session.h
...
VLAs are optional C11 features and not supported by C++.
7 years ago
Scott Anderson
9b984253e2
Move egl.h to render/egl.h
7 years ago
Scott Anderson
009c3747a8
Multi-GPU DRM
7 years ago
Scott Anderson
fa3d0ed929
Change wlr_session to open every GPU
7 years ago
Scott Anderson
7ad2a57feb
Open X11 Window
7 years ago
Scott Anderson
a598e6d026
Add X11 backend skeleton
7 years ago
emersion
427bdb5b55
Use more consistent include guard names
7 years ago
Scott Anderson
d16b2977f6
Remove single GPU assumptions from wlr_session
7 years ago
Scott Anderson
fb93628bda
Merge wlr_udev into wlr_session
7 years ago
Scott Anderson
46823152ea
Rename functions to be consistent with #93
7 years ago
Calvin Lee
de66bdb867
Add backend detection functions
...
Resolves #80
7 years ago
Drew DeVault
4386816889
wlr_backend_init -> wlr_backend_start
...
Also renames create to init. We'll use create for anything that
allocates and init for anything that takes a pointer and initializes it.
7 years ago
Drew DeVault
81cd90297d
Refactor out wlr_backend_state from wl/multi
7 years ago
Drew DeVault
c24351681f
Refactor EGL handling
7 years ago
Drew DeVault
5bf61ca7ed
Check for multi backend before using it
7 years ago
Scott Anderson
4d4da18437
Fixed VT switching
7 years ago
Scott Anderson
cb4d50e22c
Changed header paths.
7 years ago
Scott Anderson
2ae5cd6539
Moved session/ into backend/
7 years ago
Scott Anderson
ae4478e17f
Changed ownership of wlr_session to the multi backend.
...
Currently breaks VT switching for examples.
7 years ago
Drew DeVault
fd91244e83
Update everyone to use new headers
8 years ago
Drew DeVault
c2d0090ad7
Support multiple wl backend outputs
8 years ago
nyorain
41a477375c
Merge branch 'libinput' into wayland-backend
8 years ago
nyorain
904739c405
Start to fix wayland backend
...
Starts to update the wayland backend to the new backend api.
Not yet updated to libinput branch (not yet compiling).
8 years ago
Drew DeVault
e257afeb7e
Establish multi backend support
8 years ago
Drew DeVault
7a5f35b5bb
Reassign ownership of libinput handle
8 years ago
Drew DeVault
af69591e62
Add error handling and init in backend_autocreate
8 years ago
Drew DeVault
7d82476590
Refactor type implementations
8 years ago
Drew DeVault
40b85d992a
Refactor udev and drm initialization
8 years ago
Drew DeVault
fee409bd0a
Generalize DPMS, remove DRM refs from example
8 years ago
Drew DeVault
03c9b46034
Have backend manage opengl context
8 years ago
Scott Anderson
599d1bcbdc
DPMS support
8 years ago
Drew DeVault
00931f2f8f
Generalize output handling
8 years ago
Drew DeVault
15b1ce9e6c
Refactor backend state management
8 years ago
Scott Anderson
7e9feb70a0
Fixed hotplugging + make EGL more chatty.
8 years ago
Scott Anderson
ef9768858e
Changed modesetting interface.
8 years ago
Scott Anderson
d196a79b6c
Changed backend to accept wl_display.
8 years ago
Scott Anderson
18387468bb
Renamed 'wlr_drm_display' to 'wlr_drm_output'
8 years ago
Scott Anderson
81998fdc98
Removed old session code from DRM backend.
8 years ago
Scott Anderson
e446a5300b
Added example.
8 years ago
Drew DeVault
de01e654ce
Flesh out wayland backend somewhat, add example
8 years ago