Queue present events to msc values. Fake msc events with a refresh rate of about 60fps when flips are not possible. When flips are executed rely on frame callbacks with a slow updating timer as fallback.
This is important for applications, that want to limit their framerate.
07750ff3c xwayland: Implement queuing present vblanks
hw/xwayland/xwayland-present.c | 103 +++++++++++++++++++++++++++++++++++++----
hw/xwayland/xwayland.h | 2 +
2 files changed, 96 insertions(+), 9 deletions(-)