Sub 16ms render but missing swap

2023-10-17 Thread Joe M
In a GLES app wired up to Weston/Wayland using EGL, we're calling `eglSwapBuffers` in a render loop that takes about 12-13ms to draw our content, based on CPU timing the run loop. However, the call to swap incurs a duration of around 20ms, meaning we're only hitting 30fps. I've investigated a

Re: Refresh rates with multiple monitors

2023-06-14 Thread Joe M
physical display, but less so when multiple displays are in use. On Tuesday, June 13, 2023 at 03:42:41 AM PDT, Daniel Stone wrote: Hi, On Tue, 13 Jun 2023 at 10:20, Pekka Paalanen wrote: On Tue, 13 Jun 2023 01:11:44 + (UTC) Joe M wrote: > As I understand, there is one glo

Refresh rates with multiple monitors

2023-06-13 Thread Joe M
Hi, I was wondering about the internals of Wayland (wl_compositor?) with multiple physical screens/displays attached. I'm using EGL so if those details are contextual to the answer please include if possible. As I understand, there is one global wl_display. Is there always one wl_compositor