[Webkit-unassigned] [Bug 162673] New: [GTK] Cache RenderThemeGadget instances for rendering scrollbars for GTK+ 3.20+

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 28 06:52:04 PDT 2016


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

            Bug ID: 162673
           Summary: [GTK] Cache RenderThemeGadget instances for rendering
                    scrollbars for GTK+ 3.20+
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: andrunko at gmail.com
                CC: bugs-noreply at webkitgtk.org

GTK+ styling machinery is currently taking non-trivial amounts of time to render scrollbars on simple pages. The problem is that the current code on ScrollbarThemeGtk creates instances of RenderThemeGadget like there’s no tomorrow :D, and each of those creates a GtkStyleContext and sets it up. Given that GtkStyleContext is designed to be cached we should take advantage of that.

Patch to follow.

-- 
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/20160928/0eb6e24c/attachment.html>


More information about the webkit-unassigned mailing list