mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] wayland: measure presentation time
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user