RESOLVED FIXED303173
[GTK] Use WebKitImage for the GTK snapshot implementation
https://bugs.webkit.org/show_bug.cgi?id=303173
Summary [GTK] Use WebKitImage for the GTK snapshot implementation
Simon Pena
Reported 2025-11-27 04:06:12 PST
Rather than having separate implementations between WPE and GTK, this uses WebKitImage for both, converting to GdkTexture when appropriate (and still falling back to cairo_surface_t when 2022_GLIB_API is not enabled).
Attachments
Simon Pena
Comment 1 2025-11-27 04:09:04 PST
EWS
Comment 2 2025-12-09 23:05:12 PST
Committed 304209@main (4f90f08efe55): <https://commits.webkit.org/304209@main> Reviewed commits have been landed. Closing PR #54515 and removing active labels.
Diego Pino
Comment 3 2025-12-10 12:43:29 PST
I think this PR broke the build with GTK3: https://build.webkit.org/#/builders/1519/builds/8848 ``` ../../../Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:5202:40: error: ‘class WebCore::ShareableBitmap’ has no member named ‘createCairoSurface’ 5202 | auto surface = bitmap->createCairoSurface(); | ^~~~~~~~~~~~~~~~~~ ```
Diego Pino
Comment 4 2025-12-10 12:43:55 PST
EWS
Comment 5 2025-12-11 00:02:16 PST
Committed 304280@main (15ddceed95e1): <https://commits.webkit.org/304280@main> Reviewed commits have been landed. Closing PR #55189 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.