[Webkit-unassigned] [Bug 166057] [GTK] RequestAnimationFrame ticks at 66 FPS instead of 60 FPS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 4 07:23:45 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=166057

--- Comment #3 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
(In reply to comment #2)
> I looked into using DisplayRefreshMonitor for the GTK port, specifically in
> the ThreadedCompositor. The problem is that when using GLX, there's no
> facility available that could send a notification about the vsync event from
> the UIProcess down to the WebProcess. With Wayland there's frame callbacks.

Some people suggest to use a separate thread doing glXSwapBuffers(); glFinish(); all the time after setting glXSwapIntervalEXT(1) (which should cause the glXSwapBuffers call to be synced with vsync) and then notify the main thread about the vsync events.

But I doubt this will be a good idea from a performance-related point of view.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170104/765f25ee/attachment-0001.html>


More information about the webkit-unassigned mailing list