aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/drm.c
AgeCommit message (Collapse)Author
2017-09-23Allow forcing legacy DRM interfaceScott Anderson
2017-09-09Check for disappearing DRM connectorsScott Anderson
DisplayPort MST connectors will disappear when they're disconnected, so we need to check for that.
2017-09-06Add set_gamma and get_gamma_size to wlr_output_implemersion
2017-08-26add wlr_cursor basic implementationTony Crisci
2017-08-19wlr renderer/texture: rename init to create when it does allocDominique Martinet
2017-08-18drm realloc_crtcs: check we found an outputDominique Martinet
This follows-up on #105 that just initialized to 0. Instead, make sure we actually found an output that matches
2017-08-18fix uninitialized warningTony Crisci
`index` might be uninitialized. Warning can be produced with gcc and `-01` flag.
2017-08-16Fix DRM problem introduced in 901c14cDrew DeVault
2017-08-16Prevent alloc errors from crashing in `list_t`Calvin Lee
This commit changes the `list_t` api so that alloc errors can be detected and worked around. Also fixes errors not found in 5cc7342
2017-08-14Refactor out wlr_output_mode_stateDrew DeVault
2017-08-13Remove wlr_output_state, update backendsDrew DeVault
2017-08-12Refactor wlr_backend_state out of DRM backendDrew DeVault
2017-08-12Use libinput_event_destroy/xkb_*_unrefDominique Martinet
Also sneak in a missing drmModeFreePlaneResources
2017-08-10Merge pull request #53 from nyorain/drm_bufferDrew DeVault
Implement drm (egl) buffer attaching
2017-08-10Refactor EGL handlingDrew DeVault
2017-08-11Fix possible use of CRTC after monitor is unpluggedScott Anderson
2017-08-10Implement drm (egl) buffer attachingnyorain
2017-08-09Atomic modesettingScott Anderson
2017-08-08Rename wlr_surface -> wlr_texture; attach -> uploadnyorain
2017-08-07Use gbm_bo_map for cursorScott Anderson
2017-08-07Style changesScott Anderson
2017-08-06Moved headersScott Anderson
2017-08-06Renamed some variables to be less genericScott Anderson
2017-08-06Updated DRM cursor renderingScott Anderson
2017-08-06Clean up resources when plane is reassignedScott Anderson
2017-08-06More cleanupsScott Anderson
2017-08-06Various cleanupsScott Anderson
2017-08-06Split off some functions into drm-utilScott Anderson
2017-08-06Use plane for renderingScott Anderson
2017-08-06Add planes.Scott Anderson
2017-08-06Upgraded CRTC and Encoder matchingScott Anderson
2017-08-06Various changes/cleanupsScott Anderson
2017-08-06DRM resource initalisationScott Anderson
2017-07-27Use ARGB8888 pixel format for cursor boTony Crisci
The previous pixel format (RGBA8888) is not supported on all devices for cursors. Weston uses ARGB8888 exclusively for its cursor buffer object which leads me to believe this pixel format is better supported.
2017-07-24bugfix: add null check on output gbm on pageflipTony Crisci
The gbm for the output might be null for the pageflip in the case that the output has been disconnected. The gbm might be set to null by wlr_drm_output_cleanup() in this case. If the output is cleaned up before the pageflip, then a double free will crash the compositor on the call to gbm_surface_release_buffer() in the pageflip handler. The outputs buffer object bo[1] will point to invalid memory.
2017-06-26Log max cursor size on errorDrew DeVault
2017-06-26Hardware cursor improvements.Scott Anderson
2017-06-26Added software cursor fallbackScott Anderson
2017-06-22Add wl_output globals for wlr_outputsDrew DeVault
2017-06-21Reorganize wlr-commonDrew DeVault
2017-06-21Update everyone to use new headersDrew DeVault
2017-06-21Fixed VT switchingScott Anderson
2017-06-20Add dynamic output resizing for Wayland backendDrew DeVault
This allows outputs to: - Not support modesetting - Resize themselves
2017-06-19Allocate framebuffers for hardware cursorsDrew DeVault
Still doesn't fix cursors though
2017-06-16Add (broken) DRM hardware cursorsDrew DeVault
2017-06-14Add more DRM info to wlr_outputDrew DeVault
Yes I know this is the libinput branch, I thought this would be useful for a libinput feature (but it wasn't)
2017-06-10Combine internal DRM headers into oneDrew DeVault
Everything always just included both anyway
2017-06-09Fixed rendering bug: Delay calling gbm_surface_release_buffer until itScott Anderson
has been scanned out.
2017-06-08Merge remote-tracking branch 'upstream/master' into rotationScott Anderson
2017-06-08Filled out more wlr_output fields.Scott Anderson