aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-09output: remove idle_frame event source when destroying outputemersion
This prevents the idle event to be activated on a destroyed output. This also makes the backend responsible for free-ing modes, as it is the one allocating them and adding them to the list. Note that the DRM backend (the only one using modes) already frees them.
2018-10-09Merge pull request #1294 from emersion/xcursor-env-configDrew DeVault
rootston: export XCURSOR_SIZE and XCURSOR_THEME
2018-10-08Merge pull request #1280 from emersion/drm-link-statusScott Anderson
backend/drm: add support for the link-status property
2018-10-08rootston: export XCURSOR_SIZE and XCURSOR_THEMEemersion
These can be used by toolkits (currently Qt) to choose a default cursor theme and size. Note that this isn't a perfect solution: - Per-seat configuration isn't possible - It's not possible to set the default image - Live config reload isn't possible But it's easy to implement and simple. To fix these remaining issues a separate protocol would be needed.
2018-10-08Merge pull request #1292 from n3rdopolis/patch-3emersion
meson.build: require logind v237
2018-10-07meson.build: require logind v237n3rdopolis
Commit 7b523884249f904f45b1e9a7eae8152c2ac1248d uses a function added in logind v237
2018-10-07Merge pull request #1286 from emersion/drm-no-crtcDrew DeVault
backend/drm: better handle GPUs without CRTCs
2018-10-07backend/drm: fix zero-length VLAsemersion
2018-10-07backend/drm: properly handle GPUs without CRTCsemersion
2018-10-05Merge pull request #1284 from emersion/schedule-frameScott Anderson
output: don't trigger a frame immediately in schedule_frame
2018-10-05output: fix busy loop when backend doesn't implement schedule_frameemersion
2018-10-05output: don't trigger a frame immediately in schedule_frameemersion
This desynchronizes our rendering loop with the vblank cycle. In case a compositor doesn't swap buffers but schedules a frame, emitting a frame event immediately enters a busy-loop. Instead, ask the backend to send a frame when appropriate. On Wayland we can just register a frame callback on our surface. On DRM we can do a no-op pageflip. Fixes #617 Fixes swaywm/sway#2748
2018-10-05Merge pull request #1283 from swaywm/revert-1282-fix-idle-frameDrew DeVault
Revert "Prevent excessive frame events when compositor doesn't swap buffers"
2018-10-05Revert "Prevent excessive frame events when compositor doesn't swap buffers"Drew DeVault
2018-10-05Merge pull request #1282 from RyanDwyer/fix-idle-frameDrew DeVault
Prevent excessive frame events when compositor doesn't swap buffers
2018-10-05Prevent excessive frame events when compositor doesn't swap buffersRyan Dwyer
When we send an output frame event, we should not assume that the compositor is going to call wlr_output_swap_buffers in response to it. If the compositor does not swap the buffers, the idle event source still exists and is executed every time the Wayland event loop becomes idle, which means we send frame events repeatedly until the buffers are swapped. This moves the removal of the idle event source out of wlr_output_swap_buffers and into wlr_output_send_frame, where it is guaranteed to be removed.
2018-10-04Merge pull request #1272 from emersion/presentation-timeDrew DeVault
Implement presentation-time
2018-10-04output: add presentation refresh predictionemersion
2018-10-04rootston: send presentation eventsemersion
2018-10-04rootston: add output_for_each_surfaceemersion
2018-10-04rootston: add layer_for_each_surfaceemersion
2018-10-04Rename get_present_clock to get_presentation clock, use itemersion
2018-10-04output: fix clock_gettime return value handlingemersion
2018-10-04backend: add get_present_clockemersion
2018-10-04output: document signalsemersion
2018-10-04output: send present event from all backendsemersion
2018-10-04output: add present eventemersion
2018-10-04presentation-time: add protocol implementationemersion
2018-10-04backend/drm: add support for the link-status propertyemersion
2018-10-04Merge pull request #1281 from aereaux/edid-sizesemersion
Update sizes for new EDID database.
2018-10-04Merge pull request #1262 from nyorain/session_fixDrew DeVault
Improve session handling
2018-10-04Update sizes for new EDID database.Aidan Epstein
2018-10-04Merge pull request #1279 from emersion/update-edid-manufacturersDrew DeVault
backend/drm: update EDID manufacturers database
2018-10-04Use sd_bus_get_property_trivial & remove numberingnyorain
2018-10-04backend/drm: update EDID manufacturers databaseemersion
2018-10-03Merge pull request #1277 from emersion/reset-gammaScott Anderson
backend/drm: reset gamma table on VT switch
2018-10-03backend/drm: reset gamma table on VT switchemersion
2018-10-03output: make gamma size a size_t and gamma table constemersion
2018-10-01Merge pull request #1275 from linkmauve/fix-xdg-decoration-destroy-crashDrew DeVault
Fix a crash on zxdg_decoration_manager_v1 destroy
2018-10-01Fix a crash on zxdg_decoration_manager_v1 destroyEmmanuel Gil Peyrot
When this request was called from a client, the unimplemented callback was NULL and thus was crashing rootston.
2018-09-30Merge pull request #1271 from emersion/gamma-control-destroyemersion
gamma-control-v1: add missing destroy handler
2018-09-29gamma-control-v1: add missing destroy handleremersion
2018-09-28Merge pull request #1265 from sghctoma/conditional-b_lundefemersion
Set b_lundef to false on FreeBSD in meson.build
2018-09-28Use == to check system instead of a prefix matchsghctoma
2018-09-28Set minimum Meson version to 0.48.0sghctoma
This commit sets the required Meson version to >=0.48.0, and removes the comment about building on FreeBSD requires an extra flag.
2018-09-28Merge pull request #1268 from emersion/drm-connector-disappearedDrew DeVault
backend/drm: don't free connector immediately
2018-09-28Merge pull request #1269 from ivyl/remove_xcb_imageemersion
xwayland/xwm: Stop including xcb_image.h
2018-09-28xwayland/xwm: Stop including xcb_image.hArkadiusz Hiler
It's not used (XCB_IMAGE_FORMAT_Z_PIXMAP comes from xproto.h) and we don't even have a pkg-config dependency on xcb-image, making the build to fail on that inclusion on systems without the package.
2018-09-28backend/drm: don't free connector immediatelyemersion
When a pageflip is pending, we'll get a DRM event for the connector in the future. We don't want to free the connector immediately otherwise we'll use-after-free in the pageflip handler. This commit adds a new state, "DISAPPEARED". This asks the pageflip handler to destroy the output after it's done pageflipping.
2018-09-27Merge pull request #1266 from Ongy/xdc_tablet_fixDrew DeVault
Fix tablet_tool tilt and send proximity_out