⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 192166 in webkit


Ignore:
Timestamp:
Nov 9, 2015, 10:54:03 AM (11 years ago)
Author:
Brent Fulgham
Message:

[Win] Recognize context flush as an event that requires an update
​https://bugs.webkit.org/show_bug.cgi?id=151001
<rdar://problem/22956040>

Reviewed by Simon Fraser.

  • platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp:

(WebCore::WKCACFViewLayerTreeHost::flushContext): Mark view as needing an update
when flushing so internal drawing code will do the paint.

  • rendering/RenderLayerBacking.cpp:

(WebCore::RenderLayerBacking::paintIntoLayer): Skip WK2 assert that does
not apply to Windows drawing path.

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r192163 r192166  
     12015-11-09  Brent Fulgham  <bfulgham@apple.com>
     2
     3        [Win] Recognize context flush as an event that requires an update
     4        https://bugs.webkit.org/show_bug.cgi?id=151001
     5        <rdar://problem/22956040>
     6
     7        Reviewed by Simon Fraser.
     8
     9        * platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp:
     10        (WebCore::WKCACFViewLayerTreeHost::flushContext): Mark view as needing an update
     11        when flushing so internal drawing code will do the paint.
     12        * rendering/RenderLayerBacking.cpp:
     13        (WebCore::RenderLayerBacking::paintIntoLayer): Skip WK2 assert that does
     14        not apply to Windows drawing path.
     15
    1162015-11-09  Brady Eidson  <beidson@apple.com>
    217
  • trunk/Source/WebCore/platform/graphics/ca/win/WKCACFViewLayerTreeHost.cpp

    r190235 r192166  
    155155void WKCACFViewLayerTreeHost::flushContext()
    156156{
     157    m_viewNeedsUpdate = true;
    157158    WKCACFViewFlushContext(m_view.get());
    158159}
  • trunk/Source/WebCore/rendering/RenderLayerBacking.cpp

    r191680 r192166  
    22612261{
    22622262    if ((paintsIntoWindow() || paintsIntoCompositedAncestor()) && paintingPhase != GraphicsLayerPaintChildClippingMask) {
    2263 #if !PLATFORM(IOS)
     2263#if !PLATFORM(IOS) && !OS(WINDOWS)
    22642264        // FIXME: Looks like the CALayer tree is out of sync with the GraphicsLayer heirarchy
    22652265        // when pages are restored from the PageCache.
Note: See TracChangeset for help on using the changeset viewer.