glcore: change rendering looping constructs