[Wayland-bugs] [Bug 763350] drawing performance worse than X

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Mon Mar 14 13:56:51 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=763350

Emmanuele Bassi (:ebassi) <ebassi at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebassi at gmail.com

--- Comment #16 from Emmanuele Bassi (:ebassi) <ebassi at gmail.com> ---
(In reply to Christian Hergert from comment #15)
> cogl-winsys-egl-kms.c specifies a page_flip drm event handler, but not
> vblank_handler (which is what weston uses).
> 
> Even if we add this handler, I'm not sure we have the proper API to
> propagate it in the same fashion back to the calling API in Mutter (who is
> waiting for callbacks via the CoglOnscreen).

The usual way to achieve this is to populate the CoglFrameInfo on page flip;
the frame info timing can then be used by higher layers, like Mutter. This is
what already happens with Cogl using the GLX winsys.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160314/2e7f3e75/attachment.html>


More information about the wayland-bugs mailing list