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:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@212730
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2017-02-21 Per Arne Vollan <pvollan@apple.com>
+
+ [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 <jer.noble@apple.com>
Make logging in high-priority audio threads less expensive
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 };
};