Changeset 197031 in webkit


Ignore:
Timestamp:
Feb 24, 2016 9:19:23 AM (8 years ago)
Author:
peavo@outlook.com
Message:

[WinCairo] Mark layer as non composited.
https://bugs.webkit.org/show_bug.cgi?id=154640

Reviewed by Alex Christensen.

We need to mark the non composited layer as being non composited.

  • WebCoreSupport/AcceleratedCompositingContext.cpp:

(AcceleratedCompositingContext::initialize):
(AcceleratedCompositingContext::flushPendingLayerChanges):

Location:
trunk/Source/WebKit/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/win/ChangeLog

    r196951 r197031  
     12016-02-24  Per Arne Vollan  <peavo@outlook.com>
     2
     3        [WinCairo] Mark layer as non composited.
     4        https://bugs.webkit.org/show_bug.cgi?id=154640
     5
     6        Reviewed by Alex Christensen.
     7
     8        We need to mark the non composited layer as being non composited.
     9
     10        * WebCoreSupport/AcceleratedCompositingContext.cpp:
     11        (AcceleratedCompositingContext::initialize):
     12        (AcceleratedCompositingContext::flushPendingLayerChanges):
     13
    1142016-02-22  Per Arne Vollan  <peavo@outlook.com>
    215
  • trunk/Source/WebKit/win/WebCoreSupport/AcceleratedCompositingContext.cpp

    r196951 r197031  
    8787    // The non-composited contents are a child of the root layer.
    8888    m_nonCompositedContentLayer = GraphicsLayer::create(nullptr, *this);
     89    downcast<GraphicsLayerTextureMapper>(*m_nonCompositedContentLayer).setAsNonCompositingLayer();
    8990    m_nonCompositedContentLayer->setDrawsContent(true);
    9091    m_nonCompositedContentLayer->setContentsOpaque(!m_webView.transparent());
     
    361362        return false;
    362363
    363     FloatRect visibleRect(core(&m_webView)->mainFrame().view()->scrollPosition(), getWebViewSize(m_webView));
     364    FloatRect visibleRect(frameView->scrollPosition(), getWebViewSize(m_webView));
    364365    downcast<GraphicsLayerTextureMapper>(*m_rootLayer).updateBackingStoreIncludingSubLayers(visibleRect);
    365366    return true;
Note: See TracChangeset for help on using the changeset viewer.