1
0
Fork 0
mirror of https://github.com/hyprwm/wlroots-hyprland.git synced 2025-12-03 12:10:02 +01:00
wlroots-hyprland/backend/wayland
emersion ba91422747 output: don't trigger a frame immediately in schedule_frame
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 
Fixes 
2018-10-05 16:18:37 +02:00
..
backend.c backend/wayland: add assertions 2018-09-18 11:06:01 +02:00
output.c output: don't trigger a frame immediately in schedule_frame 2018-10-05 16:18:37 +02:00
registry.c util: add wlr_ prefix to log symbols 2018-07-09 22:49:54 +01:00
wl_seat.c backend/wayland: add assertions 2018-09-18 11:06:01 +02:00