How to avoid tear effect with TE signal

I’m also interested in this (to see if I can improve the performance on the ESP32-S3 RGB peripheral) and I came across this topic which suggest to wait for the tearing signal in the flush callback.
I haven’t tried this myself yet, as for my use case, I’m not yet sure where to get the “signal” from, but perhaps it will helps you.