[client] metrics: correlate Wayland presentation timing

This commit is contained in:
Geoffrey McRae
2026-08-06 17:29:44 +10:00
parent d3ee46f376
commit ea6e155bbf
11 changed files with 327 additions and 63 deletions

View File

@@ -181,7 +181,8 @@ struct LG_DisplayServerOps
EGLDisplay (*getEGLDisplay)(void);
EGLNativeWindowType (*getEGLNativeWindow)(void);
bool (*eglSwapBuffers)(EGLDisplay display, EGLSurface surface,
const struct Rect * damage, int count);
const struct Rect * damage, int count, uint64_t frameToken,
uint64_t * swapTime, bool * presentTracked);
#endif
#ifdef ENABLE_OPENGL