Title: [212730] trunk/Source/WebCore
- Revision
- 212730
- Author
- [email protected]
- Date
- 2017-02-21 11:21:31 -0800 (Tue, 21 Feb 2017)
Log Message
[Win] WebView is not painting in accelerated compositing mode.
https://bugs.webkit.org/show_bug.cgi?id=168654
Reviewed by Brent Fulgham.
Initializing the uncommitted layer change flags to CoverageRectChanged in GraphicsLayerCA,
stops WebView painting in accelerated mode.
Covered by existing tests.
* platform/graphics/ca/GraphicsLayerCA.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (212729 => 212730)
--- trunk/Source/WebCore/ChangeLog 2017-02-21 19:11:27 UTC (rev 212729)
+++ trunk/Source/WebCore/ChangeLog 2017-02-21 19:21:31 UTC (rev 212730)
@@ -1,3 +1,17 @@
+2017-02-21 Per Arne Vollan <[email protected]>
+
+ [Win] WebView is not painting in accelerated compositing mode.
+ https://bugs.webkit.org/show_bug.cgi?id=168654
+
+ Reviewed by Brent Fulgham.
+
+ Initializing the uncommitted layer change flags to CoverageRectChanged in GraphicsLayerCA,
+ stops WebView painting in accelerated mode.
+
+ Covered by existing tests.
+
+ * platform/graphics/ca/GraphicsLayerCA.h:
+
2017-02-21 Jer Noble <[email protected]>
Make logging in high-priority audio threads less expensive
Modified: trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h (212729 => 212730)
--- trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h 2017-02-21 19:11:27 UTC (rev 212729)
+++ trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h 2017-02-21 19:21:31 UTC (rev 212730)
@@ -586,7 +586,13 @@
FloatSize m_pixelAlignmentOffset;
+#if PLATFORM(WIN)
+ // FIXME: when initializing m_uncommittedChanges to a non-zero value, nothing is painted on Windows, see https://bugs.webkit.org/show_bug.cgi?id=168666.
+ LayerChangeFlags m_uncommittedChanges { 0 };
+#else
LayerChangeFlags m_uncommittedChanges { CoverageRectChanged };
+#endif
+
bool m_isCommittingChanges { false };
};
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes