aboutsummaryrefslogtreecommitdiff
path: root/backend
AgeCommit message (Collapse)Author
2018-03-01prevent current_mode null on output_enable(false)Markus Ongyerth
The current mode was set to NULL to abuse it as state variable persisting DRM suspend/resume, this results resulted in a segfault on normal DPMS cycle. This reverts that change and uses the wlr_output enabled variable, which also persists and makes more sense.
2018-02-26restore dpms state on drm resumeMarkus Ongyerth
If there is no current mode, set outputs to dpms off in drm resume. Sets current mode to null on disable to ensure this can be checked.
2018-02-25Merge pull request #659 from agx/alphaDrew DeVault
Make wlr_render_with_matrix use alpha
2018-02-25Add alpha to wlr_render_with_matrixGuido Günther
so we can use the alpha channel to e.g. blend in textures
2018-02-25Merge pull request #669 from acrisci/headless-output-frame-timerDrew DeVault
destroy frame timer in headless output
2018-02-24remove frame timer from headless outputTony Crisci
2018-02-25Fix null deref in wlr_libinput_backend_destroyDan Robertson
If input_event is null (e.g. if backend_start has not been called yet) wl_event_source_remove will result in a null deref.
2018-02-24Merge pull request #657 from emersion/wl-backend-uninitialized-fieldTony Crisci
backend/wayland: fix uninitialized wlr_event_keyboard_key::update_state
2018-02-23x11: parse vendor and model out of xcb setup informationGuido Günther
2018-02-23backend/wayland: fix uninitialized wlr_event_keyboard_key::update_stateemersion
2018-02-19Revert "ELF Visibility"Drew DeVault
2018-02-18Merge pull request #647 from ascent12/elf_visibilityDrew DeVault
ELF Visibility
2018-02-19Explicitly export EFL symbolsScott Anderson
2018-02-18x11 backend: set window titleGuido Günther
This makes windows identifiable in the window list
2018-02-19Remove usec_to_msec from public APIScott Anderson
2018-02-14Add missing dependenciesRodrigo Lourenço
2018-02-12Reformat all #include directivesemersion
2018-02-12Make wlr_signal_emit_safe privateemersion
2018-02-12Remove wlr_backend.events.{output_remove,device_remove}emersion
2018-02-12Add wlr_signal_emit_safeemersion
2018-02-10Merge pull request #618 from VincentVanlaer/atomic-gammaDrew DeVault
Add atomic gamma control
2018-02-10Merge pull request #623 from martinetd/mesonoptDrew DeVault
Meson option enhancements
2018-02-10meson build: only link with deps when required by optionsDominique Martinet
2018-02-10meson.build status: print actual build options in messageDominique Martinet
We were printing the option intent (true by default for all), but some are disabled when a component is not found and this was not reflected.
2018-02-10Fallback gamma on legacy if properties don't existVincent Vanlaer
2018-02-09Swap buffers with damageemersion
2018-02-09Use VLA instead of heap allocVincent Vanlaer
2018-02-09Fix styleVincent Vanlaer
2018-02-09Free gamma when property blob creation failsVincent Vanlaer
2018-02-09Set needs_swap on output when gamma changesVincent Vanlaer
2018-02-09Do not allow gamma control without a crtcVincent Vanlaer
2018-02-09Add atomic gamma lut size fetchingVincent Vanlaer
Legacy gamma lut size now uses the new legacy_crtc member of wlr_drm_crtc. This was Previously doen using old_crtc in wlr_drm_connector, but since this refers to the crtc that was connected to the ouput, this could give the wrong result.
2018-02-09Add atomic gamma settingVincent Vanlaer
2018-02-09Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-02-06prevents reuse of outdated wlr_output stateMarkus Ongyerth
On the drm output the wlr_drm_connector structs are reused. This struct contains the wlr_output struct, which is reused as well. The old code kept modes/edid and output state persistent over hotplug. This nulls the relevant strings, reads newer edid data and removes old modes on unplug.
2018-02-03Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-02-02backend/drm: update output enabled property on modesetemersion
2018-02-02backend/drm: support updating cursor when session is pausedemersion
2018-01-30backend: fix use-after-free when destroying backendsemersion
The backend destroy signal is emitted before the output_remove signal is. When the destroy signal is emitted listeners remove their output_remove listener, so the output_remove signal is never received and listeners have an invalid output pointer. The correct way to solve this would be to remove the output_remove signal completely and use the wlr_output.events.destroy signal instead. This isn't yet possible because wl_signal_emit is unsafe and listeners cannot be removed in listeners.
2018-01-30Fix some typosGuido Günther
Prefer initialize over initialise since used more often in the sources.
2018-01-30output: fix performance issues with wlr_output_schedule_frameemersion
2018-01-30Merge pull request #594 from Ongy/drm-surface-buffersemersion
relases gbm buffers on init
2018-01-30backend/drm: fix hw cursor position on rotated and scaled outputsemersion
output: add wlr_output_transformed_resolution
2018-01-29Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-01-29Merge pull request #580 from emersion/screenshooter-renderer-backportTony Crisci
Backport screenshooter fixes from the renderer redesign v1
2018-01-29Clean up the gbm/egl as wellMarkus Ongyerth
2018-01-29relases gbm buffers on initMarkus Ongyerth
The wlr_drm_surface_init function is called (upon others) when the drm mode is changed. When the surface was used previously this replaced the gbm_surface, but did not replace the gbm buffers (front/back). With this, wlr_drm_surface_get_from never set up the new buffers with the new glViewport because surf->front existed. This frees the buffers to get new buffers on the new surface with the new viewport.
2018-01-28backend/drm: do not retry pageflip when swapping buffersemersion
2018-01-28Do not flush damage if swapping buffers failedemersion
This should solve issues with multiple outputs on DRM backend.
2018-01-28Merge remote-tracking branch 'upstream/master' into output-damageemersion