aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-03rootston: do not rely on current view size when accumulating damageemersion
2018-02-03output: replace raw GL calls by wlr_renderer_* callsemersion
2018-02-03render: make wlr_renderer_clear take a float[4] for the coloremersion
2018-02-03rootston: use output rendereremersion
2018-02-03Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-02-02Merge pull request #601 from emersion/output-modeset-enabledDrew DeVault
backend/drm: update output enabled property on modeset
2018-02-02backend/drm: update output enabled property on modesetemersion
2018-02-02backend/drm: support updating cursor when session is pausedemersion
2018-02-02rootston: do not render views fullscreened on other outputsemersion
2018-02-02rootston: fix artifacts when leaving fullscreen in a rotated viewemersion
2018-02-02Fix typo in xcursor.hDrew DeVault
2018-02-01Improve xcursor docsDrew DeVault
2018-02-01Merge pull request #598 from Ongy/screenshot_transformemersion
Screenshot transform
2018-02-01fixes the off by one errors in examples/screenshotMarkus Ongyerth
The inverse loop iterations for the transformed outputs had an off by one error, iterating 1 based, not 0 based. This commit fixes that.
2018-02-01Merge pull request #599 from emersion/output-cursor-destroy-signalemersion
output: add destroy signal for wlr_output_cursor
2018-02-01output: add destroy signal for wlr_output_cursoremersion
2018-01-31handle the other transformations for screenshotsMarkus Ongyerth
This handles all current transformations for outputs properly. This ensures an output is drawn in readable orientation/flipping no matter the actual transformations applied to it.
2018-01-31fixes 90 degree rotation screenshotsMarkus Ongyerth
This fixes the screenshot example application when an output is rotated by 90 degrees. Other tranformations are not taken into account yet.
2018-01-30output: damage whole output when fullscreen surface size changesemersion
2018-01-30output: fix output_damage_whole for scaled outputsemersion
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-30Merge pull request #597 from agx/typosemersion
Fix some typos
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-30rootston: damage whole output when entering/leaving fullscreenemersion
2018-01-30rootston: fix urxvt damage on HiDPI outputsemersion
util/region: add wlr_region_expand
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-30render: add wlr_renderer_scissor docsemersion
2018-01-29Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-01-29output: restrict provided damage to output boundsemersion
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-29rootston: fix damage when changing views z-indexemersion
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-28rootston: fix output_damage_wholeemersion
This should fix artifacts when leaving fullscreen on rotated outputs.
2018-01-28Merge pull request #591 from emersion/fix-data-source-notify-finishDrew DeVault
Fix assertion failed in data_source_notify_finish
2018-01-28Fix assertion failed in data_source_notify_finishemersion
2018-01-28rootston: fix build without xwaylandemersion
2018-01-28surface: copy buffer damage to surface damageemersion
2018-01-28Merge remote-tracking branch 'upstream/master' into output-damageemersion
2018-01-28Merge pull request #590 from pks-t/pks/rootston-wo-xwaylandDrew DeVault
Fix building rootston without XWayland
2018-01-28meson: add systemd/elogind backends only if enabledPatrick Steinhardt
Right now, we are adding systemd and elogind backends to the build system as soon as their libraries are found on the build system. Instead, we should only add them if the libraries have been found _and_ the user has actually requested them to be included.
2018-01-28travis: add job building wlroots without various optionsPatrick Steinhardt
Recently, the support for building rootston without XWayland was broken. While the breakage was easily fixable, the more important problem is that actually nobody seems to ever compile wlroots without XWayland, causing silent breakage. This problem can easily be handled by the CI system: in addition to the existing job which enables XWayland, add a second job which compiles wlroots without XWayland. This will catch breakage at a much earlier stage. Catching broken builds without XWayland support obviously only covers one part of a greater issue, as all the other options may cause our builds to break, too. While we cannot test each combination, we can at least make sure to have one build with all options enabled and one with all options disabled.
2018-01-28rootston: move together XWayland setup codePatrick Steinhardt
The XWayland code for creating the cursor as well as creating the surface itself are currently split up into two ifdef'ed sections in `desktop_create()`. Move together these two sections in order to avoid having multiple ifdefs as well as making it clearer that they do in fact serve the same purpose of setting up the XWayland environment.
2018-01-28rootston: fix compilation without XWayland supportPatrick Steinhardt
In case wlroots is not being compiled with XWayland support, we will not have an xwayland surface in our roots view. While we make sure to pay attention to that in some places, we are not being consistent and try to access the xwayland surface in other places. Obviously, this leads to a compiler error due to the field not being present. Fix the issue by sprinkling in a few additional ifdefs where required.
2018-01-28rootston: fix clipped SSD for rotated viewsemersion
2018-01-28output: fix fullscreen on transformed outputsemersion