Fix visual artifacts when drawing transparent objects with ll-oit


The transparent objects sometimes show visual glitches when zooming in
on a transparent objects when using linked-list oit. This happens
because there are not enough free nodes to handle the demand.

Instead of using fixed amount of free nodes, use the screen size as a
base for free nodes and ensure at least 50% of nodes required for screen
size are always available.

Pick-to: 6.12 6.11
Fixes: QTBUG-147169
Change-Id: I65a0279033fe9a248d844fbf9b496c3969322319
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
commita9139f07477b30a2711f001b3d47aec61a4e9806
parent1c5579423b19c96de9c6e4cb589a948f37e93abf
authorAntti Määttä <antti.maatta@qt.io>
committerAntti Määttä <antti.maatta@qt.io>
commit timeWed, 3 Jun 2026 09:59:11 +0000