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

Changeset 212730 in webkit


Ignore:
Timestamp:
Feb 21, 2017, 11:21:31 AM (10 years ago)
Author:
pvollan@apple.com
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:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r212727 r212730  
     12017-02-21  Per Arne Vollan  <pvollan@apple.com>
     2
     3        [Win] WebView is not painting in accelerated compositing mode.
     4        https://bugs.webkit.org/show_bug.cgi?id=168654
     5
     6        Reviewed by Brent Fulgham.
     7
     8        Initializing the uncommitted layer change flags to CoverageRectChanged in GraphicsLayerCA,
     9        stops WebView painting in accelerated mode.
     10
     11        Covered by existing tests.
     12
     13        * platform/graphics/ca/GraphicsLayerCA.h:
     14
    1152017-02-21  Jer Noble  <jer.noble@apple.com>
    216
  • trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h

    r212590 r212730  
    587587    FloatSize m_pixelAlignmentOffset;
    588588
     589#if PLATFORM(WIN)
     590    // 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.
     591    LayerChangeFlags m_uncommittedChanges { 0 };
     592#else
    589593    LayerChangeFlags m_uncommittedChanges { CoverageRectChanged };
     594#endif
     595
    590596    bool m_isCommittingChanges { false };
    591597};
Note: See TracChangeset for help on using the changeset viewer.