Changeset 165804 in webkit


Ignore:
Timestamp:
Mar 18, 2014 1:51:55 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

Add blend mode property to dumped information in GraphicsLayer.
https://bugs.webkit.org/show_bug.cgi?id=130331

Patch by Ion Rosca <Ion Rosca> on 2014-03-18
Reviewed by Simon Fraser.

Source/WebCore:

Functionality is not changed, therefore no new tests added.
I adjusted the affected test results generated with layerTreeAsText.

  • platform/graphics/GraphicsLayer.cpp:

(WebCore::GraphicsLayer::dumpProperties):

LayoutTests:

  • css3/compositing/blend-mode-blended-element-overlapping-composited-sibling-should-have-compositing-layer-expected.txt:
  • css3/compositing/blend-mode-parent-of-composited-blended-has-layer-expected.txt:
  • css3/compositing/blend-mode-with-composited-descendant-should-have-layer-expected.txt:
Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r165795 r165804  
     12014-03-18  Ion Rosca  <rosca@adobe.com>
     2
     3        Add blend mode property to dumped information in GraphicsLayer.
     4        https://bugs.webkit.org/show_bug.cgi?id=130331
     5
     6        Reviewed by Simon Fraser.
     7
     8        * css3/compositing/blend-mode-blended-element-overlapping-composited-sibling-should-have-compositing-layer-expected.txt:
     9        * css3/compositing/blend-mode-parent-of-composited-blended-has-layer-expected.txt:
     10        * css3/compositing/blend-mode-with-composited-descendant-should-have-layer-expected.txt:
     11
    1122014-03-17  Tibor Meszaros  <tmeszaros.u-szeged@partner.samsung.com>
    213
  • trunk/LayoutTests/css3/compositing/blend-mode-blended-element-overlapping-composited-sibling-should-have-compositing-layer-expected.txt

    r163955 r165804  
    1717              (position 8.00 78.00)
    1818              (bounds 100.00 100.00)
     19              (blendMode difference)
    1920            )
    2021          )
  • trunk/LayoutTests/css3/compositing/blend-mode-parent-of-composited-blended-has-layer-expected.txt

    r163955 r165804  
    1313              (position 18.00 10.00)
    1414              (bounds 100.00 100.00)
     15              (blendMode difference)
    1516            )
    1617          )
  • trunk/LayoutTests/css3/compositing/blend-mode-with-composited-descendant-should-have-layer-expected.txt

    r163955 r165804  
    1313              (position 8.00 10.00)
    1414              (bounds 100.00 100.00)
     15              (blendMode difference)
    1516              (children 1
    1617                (GraphicsLayer
  • trunk/Source/WebCore/ChangeLog

    r165803 r165804  
     12014-03-18  Ion Rosca  <rosca@adobe.com>
     2
     3        Add blend mode property to dumped information in GraphicsLayer.
     4        https://bugs.webkit.org/show_bug.cgi?id=130331
     5
     6        Reviewed by Simon Fraser.
     7
     8        Functionality is not changed, therefore no new tests added.
     9        I adjusted the affected test results generated with layerTreeAsText.
     10
     11        * platform/graphics/GraphicsLayer.cpp:
     12        (WebCore::GraphicsLayer::dumpProperties):
     13
    1142014-03-17  Sergio Villar Senin  <svillar@igalia.com>
    215
  • trunk/Source/WebCore/platform/graphics/GraphicsLayer.cpp

    r165676 r165804  
    615615        ts << "(opacity " << m_opacity << ")\n";
    616616    }
    617    
     617
     618#if ENABLE(CSS_COMPOSITING)
     619    if (m_blendMode != BlendModeNormal) {
     620        writeIndent(ts, indent + 1);
     621        ts << "(blendMode " << compositeOperatorName(CompositeSourceOver, m_blendMode) << ")\n";
     622    }
     623#endif
     624
    618625    if (m_usingTiledBacking) {
    619626        writeIndent(ts, indent + 1);
Note: See TracChangeset for help on using the changeset viewer.