aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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
2018-09-27Fix tablet_tool tilt and send proximity_outMarkus Ongyerth
Originally I asumed tilt_x and tilt_y are very unlikely to change independent, I was proven wrong. And while investigating Krita not using the Erasor tool, I found a bug, which is unrelated though.
2018-09-27Merge pull request #852 from Laaas/masterDrew DeVault
Implement pointer-constraints-unstable-v1 protocol
2018-09-27pointer-constraints: add unstable headeremersion
2018-09-27seat: remove unused keyboard focus_change eventemersion
2018-09-27pointer-constraints: use proper wayland-scanner functionsemersion
2018-09-27rootston: remove broken rotated pointer constraint handlingemersion
2018-09-27pointer-constraints: refactoringemersion
* Rename the constraint_create signal to new_constraint for consistency * Move the constraint_destroy signal to the constraint itself * Use rotate_child_position instead of duplicating logic * Fix inert constraint resource handling * Style fixes
2018-09-26pointer-constraints: make region not a pointer, add committed bitfieldemersion
2018-09-26Adjust README to reflect change regarding b_lundefsghctoma
With Meson >=0.48.0 it is no longer necessary to pass the flag "-D b_lundef=false" on FreeBSD.
2018-09-26Add b_lundef=false Meson option on FreeBSDsghctoma
The Meson option "b_lundef" need to be set to false on FreeBSD, because the symbol "environ" is in crt1.o, which is not linked with shared libraries. With Meson >=0.48.0 it is possible to set this option only for FreeBSD. This patch changes meson.build to do that.
2018-09-26pointer-constraints: rename wl_{global,resources}emersion