Skip to content

backends/x11: Use PRESENT extension to get notified about frame completion

Vlad Zahorodnii requested to merge work/zzag/x11-backend-present into master

Currently, we use a timer to get notified when a frame is presented, but there's a better way using PRESENT extension's PresentCompleteNotify events.

Note that we implicitly rely on the fact that EGL implementation uses the PRESENT extension to present pixmaps, which is usually the case. QPainter backend needs some adjustments.

Merge request reports

Loading