mutter/clutter/clutter/cogl
Jonas Ådahl 6e3ecadb79 backends/native: Fall back to compositing if direct scanout failed
Even when a direct client buffer has a compatible format, stride and
modifier for direct scanout, drmModePageFlip() may still fail sometimes.

From testing, it has been observed that it may seemingly randomly fail
with ENOSPC, where all subsequent attempts later on the same CRTC
failing with EBUSY.

Handle this by falling back to flipping after having composited a full
frame again.

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1410
2020-09-17 12:17:35 +00:00
..
clutter-stage-cogl.c backends/native: Fall back to compositing if direct scanout failed 2020-09-17 12:17:35 +00:00
clutter-stage-cogl.h clutter: Paint views with individual frame clocks 2020-07-02 19:36:51 +02:00