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