What is Scaler in xcode instruments

My app is stuttering sometimes.

In metal system trace, I found that some "Scaler" costs in "Display surfaces" about 3ms each frame, and the following Display frames' color are gray. not green, blue or red.

So what is "Scaler", and what can lead to its cost?

And what does gray display frame mean?

Replies

Would also love an answer to this.