I added timing calculations to the eglSwapBuffers call, like:

auto t0 = std::chrono::high_resolution_clock::now();

eglSwapBuffers(display, surface);

auto t1 = std::chrono::high_resolution_clock::now();

printf("%s swap %.2f ms\n", pWindow->label(),
    std::chrono::duration<double,std::milli>(t1-t0).count());

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2153492

Title:
  Regression in OpenGL Wayland performance (not NVidia issue)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2153492/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to