Title: [194235] trunk/Source/WebCore
Revision
194235
Author
[email protected]
Date
2015-12-17 14:26:15 -0800 (Thu, 17 Dec 2015)

Log Message

[Win] Prevent flashing/strobing repaints on certain hardware
https://bugs.webkit.org/show_bug.cgi?id=152394
<rdar://problem/23875302>

Reviewed by Simon Fraser.

This patch reverts a change I made in r192166, where I always set the
m_viewNeedsUpdate flag to true when a 'flushContext' call was made. Instead,
we should go back to letting the view decide when it needs to paint.

* platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp:
(WebCore::WKCACFViewLayerTreeHost::flushContext): Don't just claim that
the view needs to be updated any time we are asked to flush.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (194234 => 194235)


--- trunk/Source/WebCore/ChangeLog	2015-12-17 22:19:52 UTC (rev 194234)
+++ trunk/Source/WebCore/ChangeLog	2015-12-17 22:26:15 UTC (rev 194235)
@@ -1,3 +1,19 @@
+2015-12-17  Brent Fulgham  <[email protected]>
+
+        [Win] Prevent flashing/strobing repaints on certain hardware
+        https://bugs.webkit.org/show_bug.cgi?id=152394
+        <rdar://problem/23875302>
+
+        Reviewed by Simon Fraser.
+
+        This patch reverts a change I made in r192166, where I always set the
+        m_viewNeedsUpdate flag to true when a 'flushContext' call was made. Instead,
+        we should go back to letting the view decide when it needs to paint.
+
+        * platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp:
+        (WebCore::WKCACFViewLayerTreeHost::flushContext): Don't just claim that
+        the view needs to be updated any time we are asked to flush. 
+
 2015-12-17  Per Arne Vollan  <[email protected]>
 
         [WinCairo][MediaFoundation] Release Direct3D swap chain object earlier.

Modified: trunk/Source/WebCore/platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp (194234 => 194235)


--- trunk/Source/WebCore/platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp	2015-12-17 22:19:52 UTC (rev 194234)
+++ trunk/Source/WebCore/platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp	2015-12-17 22:26:15 UTC (rev 194235)
@@ -162,7 +162,6 @@
 
 void WKCACFViewLayerTreeHost::flushContext()
 {
-    m_viewNeedsUpdate = true;
     WKCACFViewFlushContext(m_view.get());
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to