Skip to content

backends/drm: use explicit sync where possible

Xaver Hugl requested to merge work/cherry-pick-1c8bd1be into Plasma/6.0

Instead of calling glFinish, which blocks until it's done and has high CPU usage on NVidia, use EGL_ANDROID_native_fence_fd to get an explicit sync fd, which the commit thread automatically waits on before committing the buffer to KMS.

CCBUG: 452219

(cherry picked from commit 1c8bd1be)

Merge request reports

Loading