Skip to content

qmlglsink: Keep old buffers around a bit longer if they were bound by QML

We don't know exactly when QML will stop using them but it should be safe to unref them after at least 2 more buffers were bound.


This is awful, but without it can happen that frames are released while QML still uses them and then bad things are rendered. Unfortunately there seems to be no way to know when QML is done with a texture, and my tries with fences also did not show much success.

CC @ystreet

Merge request reports

Loading