Move render time queries into OutputFrame
This way, there can be multiple OutputFrames pending at the same time, without interfering in each other's queries, and without stalling to complete previous frames first. This is a requirement for !4833 (merged), and depends on !5325 (merged)
Edited by Xaver Hugl