If you enable the performance and profiling overlay, where does it say the time is spent?
Does it depend on size of window/viewport or not?
If you enable the performance and profiling overlay, where does it say the time is spent?
Does it depend on size of window/viewport or not?