core/renderloop: add some hysteresis to triple buffering

Switching to triple buffering requires dropping a frame, so if we constantly switch back and forth between double and triple buffering, that can cause very visible performance issues

CCBUG: 488843

Merge request reports

Loading