aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/drm.h
AgeCommit message (Collapse)Author
2019-10-27backend/drm: add support for custom modesSimon Ser
Use the CVT algorithm to create a drmModeModeInfo.
2019-07-27Remove all wayland-server.h includesSimon Ser
The documentation for wayland-server.h says: > Use of this header file is discouraged. Prefer including > wayland-server-core.h instead, which does not include the server protocol > header and as such only defines the library PI, excluding the deprecated API > below. Replacing wayland-server.h with wayland-server-core.h allows us to drop the WL_HIDE_DEPRECATED declaration.
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-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-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-04-25Remove wlr_ prefix from local symbolsemersion
2018-03-19Write some more docsDrew DeVault
2018-02-12Reformat all #include directivesemersion
2017-12-19drm backend: add wlr_output_is_drmDominique Martinet
2017-10-01Multi-GPU DRMScott Anderson
2017-08-26Merge wlr_udev into wlr_sessionScott Anderson
2017-08-13Add backend detection functionsCalvin Lee
Resolves #80
2017-08-06Changed header paths.Scott Anderson
2017-06-01Refactor udev and drm initializationDrew DeVault
2017-05-31Generalize DPMS, remove DRM refs from exampleDrew DeVault
2017-05-31Have backend manage opengl contextDrew DeVault
2017-05-13DPMS supportScott Anderson
2017-05-07Generalize output handlingDrew DeVault
2017-05-07Refactor backend state managementDrew DeVault
2017-05-04Fixed hotplugging + make EGL more chatty.Scott Anderson
2017-05-03Changed modesetting interface.Scott Anderson
2017-05-03Changed backend to accept wl_display.Scott Anderson
2017-05-03Renamed 'wlr_drm_display' to 'wlr_drm_output'Scott Anderson
2017-05-03Removed old session code from DRM backend.Scott Anderson
2017-05-02Added example.Scott Anderson