kwin-gles: add support for EGL_NV_post_sub_buffer
author Pierre-Loup A. Griffais
()
committer Martin Gräßlin
()
commit c8306ed8e1c220c3a49c452da43c1eb165151905
tree adb7a9ff4036c2cd33ae3ed50328ac0d8bb6f182
parent c10419b6f85af4a6d2c7539c594abc7224535c03
kwin-gles: add support for EGL_NV_post_sub_buffer

The EGL path had no support for presenting sub-regions of the screen, we can
leverage EGL_NV_post_sub_buffer for that. This wouldn't be a win if we didn't
have to opt-out of flipping.

REVIEW: 102889
kwin/libkwineffects/kwinglutils_funcs.cpp
kwin/libkwineffects/kwinglutils_funcs.h
kwin/scene_opengl_egl.cpp