Tearing prevention modes, what do they mean?

There are 3 modes for tearing prevention for the compositor.

Only when cheap
Fullscreen repaints
Re-use screen content

What do they do?

I used those terms in strict Google searches. Not a single one appeared on a documentation page on kde.org, only on forum. So, one have to guess from its name what an option does, which is great.