[Interest] How to prevent custom material shader to be constantly rendered when there are no updates?
Nuno Santos
nuno.santos at imaginando.pt
Mon Mar 31 16:53:40 CEST 2025
Hi,
I’m trying to avoid Qt to repaint a custom QQuickItem that has a custom material which is an heavy shader, when there are no changes.
Even when QQuickItem::updatePaintNode is not called, QSGMaterialShader::updateUniformData is always called and the GPU usage is still high.
It seems that the only way I can prevent this issue is by removing the item from the scene. Is this normal?
Does anyone if there is a way?
Thanks!
Regards,
Nuno
More information about the Interest
mailing list