Modified: releases/WebKitGTK/webkit-1.10/Source/WebCore/ChangeLog (132098 => 132099)
--- releases/WebKitGTK/webkit-1.10/Source/WebCore/ChangeLog 2012-10-22 17:39:27 UTC (rev 132098)
+++ releases/WebKitGTK/webkit-1.10/Source/WebCore/ChangeLog 2012-10-22 17:39:37 UTC (rev 132099)
@@ -1,3 +1,18 @@
+2012-10-11 Arnaud Renevier <a.renev...@sisa.samsung.com>
+
+ accelerated compositing does not work with ati driver
+ https://bugs.webkit.org/show_bug.cgi?id=97472
+
+ Reviewed by Martin Robinson.
+
+ Create m_parentWindow at positive position. Otherwise, parts of it are
+ not displayed on ati drivers.
+
+ Covered by existing tests.
+
+ * platform/gtk/RedirectedXCompositeWindow.cpp:
+ (WebCore::RedirectedXCompositeWindow::RedirectedXCompositeWindow):
+
2012-09-26 Martin Robinson <mrobin...@igalia.com>
[GTK] Use XDamage to simplify RedirectedXCompositeWindow
Modified: releases/WebKitGTK/webkit-1.10/Source/WebCore/platform/gtk/RedirectedXCompositeWindow.cpp (132098 => 132099)
--- releases/WebKitGTK/webkit-1.10/Source/WebCore/platform/gtk/RedirectedXCompositeWindow.cpp 2012-10-22 17:39:27 UTC (rev 132098)
+++ releases/WebKitGTK/webkit-1.10/Source/WebCore/platform/gtk/RedirectedXCompositeWindow.cpp 2012-10-22 17:39:37 UTC (rev 132099)
@@ -111,19 +111,20 @@
, m_damageNotifyData(0)
{
Display* display = GDK_DISPLAY_XDISPLAY(gdk_display_get_default());
+ Screen* screen = DefaultScreenOfDisplay(display);
// This is based on code from Chromium: src/content/common/gpu/image_transport_surface_linux.cc
XSetWindowAttributes windowAttributes;
windowAttributes.override_redirect = True;
m_parentWindow = XCreateWindow(display,
- RootWindow(display, DefaultScreen(display)),
- -100, -100, 1, 1,
- 0,
- CopyFromParent,
- InputOutput,
- CopyFromParent,
- CWOverrideRedirect,
- &windowAttributes);
+ RootWindowOfScreen(screen),
+ WidthOfScreen(screen) + 1, 0, 1, 1,
+ 0,
+ CopyFromParent,
+ InputOutput,
+ CopyFromParent,
+ CWOverrideRedirect,
+ &windowAttributes);
XMapWindow(display, m_parentWindow);
windowAttributes.event_mask = StructureNotifyMask;