Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[GTK] Rendering artifacts when resizing the window in X11 with AC mod…
…e enabled https://bugs.webkit.org/show_bug.cgi?id=168728 Reviewed by Žan Doberšek. This happens because the pixmap we create from the redirected window is uninitialized until the threaded compositor renders into it. We should always initialize the pixmap right after it's created. * WebProcess/WebPage/gtk/AcceleratedSurfaceX11.cpp: (WebKit::defaultVisual): Helper static method to get the default GdkVisual. (WebKit::AcceleratedSurfaceX11::AcceleratedSurfaceX11): Use createPixmap(). (WebKit::AcceleratedSurfaceX11::createPixmap): Create and initialize the pixmap. (WebKit::AcceleratedSurfaceX11::resize): Use createPixmap(). * WebProcess/WebPage/gtk/AcceleratedSurfaceX11.h: Canonical link: https://commits.webkit.org/185899@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@213061 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
1dba9cb
commit 1d031fd
Showing
3 changed files
with
41 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters