aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend
AgeCommit message (Collapse)Author
2018-09-24Rework session handlingnyorain
Sessions can now be retrieved from a backend in a more general manner. Multi-backend gets back its `session` field that contains the session if one was created, removing the interfacing from multi backend with the drm backend directly. This adds the possibility to use sessions even without the drm backend. It additionally fixes the bug that 2 session objects got created when WLR_BACKENDS were set to "libinput,drm". To allow vt switching without drm backend (and drm fd) on logind, start listening to PropertiesChanged signals from dbus and parse the session "Active" property when no master fd was created (this does not change current drm backend behaviour in any way).
2018-09-19Introduce wlr_multi_for_each_backendRyan Dwyer
2018-08-26Add destroy signals to types that are destroyed by wl_display_destroyAlexander Bakker
2018-08-24Revert "Revert "Merge pull request #1194 from ascent12/meson_feature""Scott Anderson
This reverts commit 9c886f20b97b6ab1ac85b849f1fe7f16eb199ff0.
2018-08-23Revert "Merge pull request #1194 from ascent12/meson_feature"Drew DeVault
This breaks wlroots when used as a meson subproject. This reverts commit dea311992eb4ff3e343c3cf5b0603034223d2a42, reversing changes made to 6db9c4b74667c1d917d720f5e96985a2461569fb.
2018-08-22Install headers explicitlyScott Anderson
2018-08-13move wlr_drm_connector_add_mode to wlr/backend/drm.hIlia Bozhinov
2018-07-29Initial pass on API stability guaranteesDrew DeVault
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
2018-06-14Multiseat fixesScott Anderson
2018-05-25backends: implement custom EGL and renderer initializationIlia Bozhinov
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
2018-05-19backend/multi: disallow multiple renderers at the same timeemersion
2018-05-03Fix typos in comments and stringsmorganamilo
2018-04-29backend/wayland: create one virtual pointer per outputemersion
2018-04-25Remove wlr_ prefix from local symbolsemersion
2018-04-08backend: remove wlr_backend_get_eglemersion
2018-03-30backend/x11: add WLR_X11_OUTPUTS supportemersion
2018-03-19Write some more docsDrew DeVault
2018-02-12Reformat all #include directivesemersion
2018-01-23Backport screenshooter fixes from the renderer redesign v1emersion
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.
2018-01-13Update comment for wlr_headless_backend_createMarkus Ongyerth
2018-01-13adds remote argument to wayland backend createMarkus Ongyerth
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.
2017-12-20rootston: handle backend creation failedTony Crisci
2017-12-19multibackend remove subbackendTony Crisci
2017-12-19remove session from multibackendTony Crisci
2017-12-19x11 backend: add wlr_input_device_is_x11Dominique Martinet
2017-12-19wl backend: add wlr_input_device_is_wlDominique Martinet
2017-12-19headless backend: add wlr_output_is_headlessDominique Martinet
2017-12-19headless backend: add wlr_input_device_is_headlessDominique Martinet
2017-12-19drm backend: add wlr_output_is_drmDominique Martinet
2017-12-19wl backend: add wlr_output_is_wlDominique Martinet
2017-12-19x11 backend: add wlr_output_is_x11Dominique Martinet
2017-12-19libinput backend: add wlr_input_device_is_libinputDominique Martinet
2017-12-19Destroy multi backend on display destroyemersion
2017-12-17Add headless input devicesemersion
2017-12-17Add full refresh rate support to custom modesemersion
2017-12-17Initialize headless backendemersion
2017-12-08Listen to display destroy in sessionemersion
It's not the backend's responsibility to destroy the session anymore.
2017-11-10Remove VLA from session.hEric Molitor
VLAs are optional C11 features and not supported by C++.
2017-10-22Move egl.h to render/egl.hScott Anderson
2017-10-01Multi-GPU DRMScott Anderson
2017-10-01Change wlr_session to open every GPUScott Anderson
2017-09-29Open X11 WindowScott Anderson
2017-09-29Add X11 backend skeletonScott Anderson
2017-09-23Use more consistent include guard namesemersion
2017-08-26Remove single GPU assumptions from wlr_sessionScott Anderson
2017-08-26Merge wlr_udev into wlr_sessionScott Anderson
2017-08-26Rename functions to be consistent with #93Scott Anderson
2017-08-13Add backend detection functionsCalvin Lee
Resolves #80
2017-08-13wlr_backend_init -> wlr_backend_startDrew DeVault
Also renames create to init. We'll use create for anything that allocates and init for anything that takes a pointer and initializes it.
2017-08-12Refactor out wlr_backend_state from wl/multiDrew DeVault