| Summary: | [GTK4][X11] Add support for rendering web view contents | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | aperez, bugs-noreply | ||||
| Priority: | P2 | Keywords: | Gtk | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 210100 | ||||||
| Attachments: |
|
||||||
|
Description
Carlos Garcia Campos
2020-04-29 09:40:23 PDT
Created attachment 397970 [details]
Patch
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. (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. Committed r260946: <https://trac.webkit.org/changeset/260946> |