Changeset 204250 in webkit
- Timestamp:
- Aug 7, 2016 10:40:50 PM (17 months ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebProcess/WebPage/gtk/RedirectedXCompositeWindow.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r204249 r204250 1 2016-08-07 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK] Bad performance in accelerated compositing mode with the modesetting intel driver and DRI3 enabled 4 https://bugs.webkit.org/show_bug.cgi?id=160491 5 6 Reviewed by Michael Catanzaro. 7 8 This is becoming the default in several linux distributions and it makes WebKitGTK+ unusable in accelerated 9 compositing mode, which is now always enabled because since we switched to use the threaded compositor. The 10 problem seems to be an optimization of the intel driver for windows that are offscreen, and our redirected 11 window is always positioned at ScreenWidth + 1, 0. Using negative coordinates to position the redirected window 12 offscreen fixes the problem. 13 See also https://bugs.freedesktop.org/show_bug.cgi?id=85064. 14 15 * WebProcess/WebPage/gtk/RedirectedXCompositeWindow.cpp: 16 (WebKit::RedirectedXCompositeWindow::RedirectedXCompositeWindow): Position the parent window at -1, -1. 17 1 18 2016-08-07 Carlos Garcia Campos <cgarcia@igalia.com> 2 19 -
trunk/Source/WebKit2/WebProcess/WebPage/gtk/RedirectedXCompositeWindow.cpp
r204013 r204250 73 73 m_parentWindow = XCreateWindow(m_display, 74 74 RootWindowOfScreen(screen), 75 WidthOfScreen(screen) + 1, 0, 1, 1,75 -1, -1, 1, 1, 76 76 0, 77 77 gdk_visual_get_depth(visual),
Note: See TracChangeset
for help on using the changeset viewer.