[Webkit-unassigned] [Bug 251149] New: [GTK] Uses deprecated gdk_cairo_draw_from_gl

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 25 06:29:01 PST 2023


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

            Bug ID: 251149
           Summary: [GTK] Uses deprecated gdk_cairo_draw_from_gl
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at gnome.org
                CC: bugs-noreply at webkitgtk.org

AcceleratedBackingStoreWayland uses gdk_cairo_draw_from_gl, which is documented as "The main way to not draw GL content in GTK."

"""
The function is overly complex and produces broken output in various combinations of arguments. If you want to draw with GL textures in GTK, use gdk_gl_texture_new(); if you want to use that texture in Cairo, use gdk_texture_download() to download the data into a Cairo image surface.
"""

I noticed due to some discussion at Red Hat about how it's currently broken. See https://gitlab.gnome.org/GNOME/gtk/-/issues/5517 where it's not flushing properly.

No clue whether it would be feasible to avoid it or not. I've never attempted to understand graphics.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230125/84417089/attachment.htm>


More information about the webkit-unassigned mailing list