Re: Sub 16ms render but missing swap

2023-10-18 Thread Pekka Paalanen
On Wed, 18 Oct 2023 09:18:45 +0200 Emmanuel Gil Peyrot wrote: > Hi, > > On Wed, Oct 18, 2023 at 12:00:45AM +, Joe M wrote: > > 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 CP

Re: Sub 16ms render but missing swap

2023-10-18 Thread Daniel Stone
Hi Joe, On Wed, 18 Oct 2023 at 02:00, Joe M wrote: > A few questions: > 1. What other avenues of investigation should I pursue for the swap delay? > As in, why when I take 12 ms to render do I not see about 4ms for the swap > call to return? My display is running in at 60hz. Further to Emman

Re: Sub 16ms render but missing swap

2023-10-18 Thread Emmanuel Gil Peyrot
Hi, On Wed, Oct 18, 2023 at 12:00:45AM +, Joe M wrote: > 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 a

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 li