[Webkit-unassigned] [Bug 144517] New: [GTK][EFL] Unify platform display handling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 2 01:08:06 PDT 2015


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

            Bug ID: 144517
           Summary: [GTK][EFL] Unify platform display handling
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: Gtk
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: gns at gnome.org, gyuyoung.kim at webkit.org,
                    ossy at webkit.org, zan at falconsigh.net

There are several places were we are handling the X display connection:

 - GLContext::sharedX11Display() creates a new connection.
 - X11Helper::nativeDisplay() creates a new connection.
 - BackingStoreBackendCairoX11 uses the GTK+ shared connection.
 - NetscapePlugin::x11HostDisplay() uses the GTK+/ecore shared connection
 - The rest of the GTK+ code uses the shared GTK+ connection

And then we also have WaylandDisplay and the code to check if the current display is wayland or X11.

We could unify all these to share the same connection to reduce the amount of ifdefs and ensure a single connection. That will also allow us to use "smart pointers" for the X resources that need a Display* to be freed.

-- 
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/20150502/6da9bbe2/attachment.html>


More information about the webkit-unassigned mailing list