[Webkit-unassigned] [Bug 115803] [GTK] Accelerated compositing does not work in Wayland

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 4 05:35:14 PST 2014


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





--- Comment #14 from Iago Toral <itoral at igalia.com>  2014-02-04 05:32:34 PST ---
Created an attachment (id=223102)
 --> (https://bugs.webkit.org/attachment.cgi?id=223102&action=review)
Patch (multiple surfaces)

This patch adds initial support for multiple surfaces/widgets.

In order to map surfaces and widgets we implement a custom extension for the wayland protocol that allows to associate a surface with a widget-id. This widget-id is generated by the compositor itself when a WebView is created and is passed to the WebProcess using the same mechanisms we use in X11 to communicate the XWindowID. Then the WebProcess (LayerTreeHostGtk), can use this widget-id when creating the wayland surface to let the compositor know about the widget/surface matching.

We need to use wayland-scanner to autogenerate files required by the extension. This patch generates (and expects) the files in the Source tree instead of producing them under DerivedSources. For some reason I was not able to include the autogenerated header files if these were created under DerivedSources, so this probably needs some more work.

Since MiniBrowser does not let me create multiple tabs/windows I have not tested this properly yet, but I did check that reloading in MiniBrowser (which creates a new surface for the same widget) does work as expected: the new surface is created, it is assigned to the existing widget and the previous surface is destroyed.

The patch applies on top of the previous patches.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list