RESOLVED FIXED Bug 211189
[GTK4][X11] Add support for rendering web view contents
https://bugs.webkit.org/show_bug.cgi?id=211189
Summary [GTK4][X11] Add support for rendering web view contents
Carlos Garcia Campos
Reported 2020-04-29 09:40:23 PDT
.
Attachments
Patch (14.17 KB, patch)
2020-04-29 09:46 PDT, Carlos Garcia Campos
aperez: review+
Carlos Garcia Campos
Comment 1 2020-04-29 09:46:36 PDT
Adrian Perez
Comment 2 2020-04-30 05:53:05 PDT
Comment on attachment 397970 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=397970&action=review > Source/WebCore/platform/graphics/x11/PlatformDisplayX11.h:37 > +#define WK_XVISUAL(platformDisplay) (static_cast<Visual*>(platformDisplay.visual())) /me sighs at X11 (╥_╥) > Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreX11.cpp:205 > + auto* visual = WK_XVISUAL(downcast<PlatformDisplayX11>(PlatformDisplay::sharedDisplay())); Maybe we want to always use the WK_XVISUAL() variant and remove the #if here? I doubt that GTK would choose one different from what PlatformDisplayX11::visual() finds.
Carlos Garcia Campos
Comment 3 2020-04-30 05:57:50 PDT
(In reply to Adrian Perez from comment #2) > Comment on attachment 397970 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=397970&action=review > > > Source/WebCore/platform/graphics/x11/PlatformDisplayX11.h:37 > > +#define WK_XVISUAL(platformDisplay) (static_cast<Visual*>(platformDisplay.visual())) > > /me sighs at X11 (╥_╥) > > > Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreX11.cpp:205 > > + auto* visual = WK_XVISUAL(downcast<PlatformDisplayX11>(PlatformDisplay::sharedDisplay())); > > Maybe we want to always use the WK_XVISUAL() variant and remove the #if here? > I doubt that GTK would choose one different from what > PlatformDisplayX11::visual() > finds. I prefer not to change the GTK3 behavior, even less in X11 related code that I don't test myself.
Carlos Garcia Campos
Comment 4 2020-04-30 05:59:00 PDT
Note You need to log in before you can comment on or make changes to this bug.