Mpv wayland (opengl) backend glitter in fullscreen video playing

Description:

Latest kwin caused fullscreen mpv shake with wayland (opengl) backend.

Revert upstream commit 19ffe2ac (9c2035ca) works for me.

Additional info:

Steps to reproduce:

  1. Start mpv in wayland (opengl) backend. (--gpu-context=auto point to wayland on my setting)
  2. Play any video in fullscreen.
  3. Wait for cursor to fade out, and the screen begins to shake until cursor occurs or pause.