[client] wayland: measure presentation time

This commit is contained in:
Quantum
2021-05-13 22:51:45 -04:00
committed by Geoffrey McRae
parent 6da9428d85
commit e87bc3a83e
6 changed files with 133 additions and 1 deletions

View File

@@ -110,10 +110,14 @@ void waylandEGLSwapBuffers(EGLDisplay display, EGLSurface surface, const struct
wlWm.eglDamageRects[i*4+3] = damage[i].h;
}
waylandPresentationFrame();
wlWm.eglSwapWithDamage(display, surface, wlWm.eglDamageRects, count);
}
else
{
waylandPresentationFrame();
eglSwapBuffers(display, surface);
}
if (wlWm.needsResize)
{