haikuwebkit/LayoutTests/compositing/backing
Antoine Quint ce48933d7f Simplify transform blending for simple cases
https://bugs.webkit.org/show_bug.cgi?id=219863

Reviewed by Simon Fraser.

LayoutTests/imported/w3c:

Rebaseline some WPT test outputs, resulting in round numbers for animated transform output, including a few new PASS results.

* web-platform-tests/css/css-transforms/animation/transform-interpolation-computed-value-expected.txt:
* web-platform-tests/css/css-transforms/animation/transform-matrix-composition-expected.txt:
* web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-002-expected.txt:
* web-platform-tests/web-animations/animation-model/keyframe-effects/effect-value-iteration-composite-operation-expected.txt:
* web-platform-tests/web-animations/interfaces/Animation/commitStyles-expected.txt:

Source/WebCore:

Optimize two simple cases for transform blending. First, use matrices as-is for the cases when we blend with
progress equal to 0 or 1. Then, when rotating around an angle that's an increment of 360º, simply return the
existing matrix.

* platform/graphics/transforms/TransformationMatrix.cpp:
(WebCore::TransformationMatrix::rotate):
(WebCore::TransformationMatrix::blend):

LayoutTests:

Rebaselining test output where -0 values are now +0.

* compositing/backing/animate-into-view-expected.txt:
* compositing/backing/animate-into-view-with-descendant-expected.txt:

Canonical link: https://commits.webkit.org/232455@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@270801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-12-14 20:55:27 +00:00
..
animate-into-view-expected.txt Simplify transform blending for simple cases 2020-12-14 20:55:27 +00:00
animate-into-view-with-descendant-expected.txt Simplify transform blending for simple cases 2020-12-14 20:55:27 +00:00
animate-into-view-with-descendant.html
animate-into-view.html [Web Animations] Ensure CSS Transition and CSS Animation events are queued, sorted and dispatched by their timeline 2020-02-14 17:52:07 +00:00
backface-visibility-expected.txt
backface-visibility-flip-expected.txt
backface-visibility-flip.html
backface-visibility-in-3dtransformed-expected.txt
backface-visibility-in-3dtransformed.html
backface-visibility-in-transformed-expected.txt
backface-visibility-in-transformed.html
backface-visibility.html
backing-for-clipping-expected.html REGRESSION (r249434): flashy menus on wellsfargo.com 2019-11-14 00:35:07 +00:00
backing-for-clipping.html REGRESSION (r249434): flashy menus on wellsfargo.com 2019-11-14 00:35:07 +00:00
backing-store-attachment-animating-outside-viewport-expected.txt Extent of a composited animation should not include the untransformed position 2020-02-09 01:11:36 +00:00
backing-store-attachment-animating-outside-viewport.html Extent of a composited animation should not include the untransformed position 2020-02-09 01:11:36 +00:00
backing-store-attachment-empty-keyframe-expected.txt
backing-store-attachment-empty-keyframe.html
backing-store-attachment-fill-forwards-animation-expected.txt
backing-store-attachment-fill-forwards-animation.html
backing-store-attachment-outside-viewport-expected.txt
backing-store-attachment-outside-viewport.html
backing-store-attachment-scroll-expected.txt
backing-store-attachment-scroll.html
backing-store-attachment-with-rotation-expected.txt Flaky Test: compositing/backing/backing-store-attachment-with-rotation.html 2019-11-21 21:30:10 +00:00
backing-store-attachment-with-rotation.html Flaky Test: compositing/backing/backing-store-attachment-with-rotation.html 2019-11-21 21:30:10 +00:00
border-radius-no-backing-expected.txt
border-radius-no-backing.html
child-layer-no-backing-expected.txt
child-layer-no-backing.html
filter-no-backing-expected.txt
filter-no-backing.html
foreground-layer-no-paints-into-ancestor-expected.html Remove experimental: and internal: prefixes from test header commands 2020-11-04 15:56:26 +00:00
foreground-layer-no-paints-into-ancestor.html Remove experimental: and internal: prefixes from test header commands 2020-11-04 15:56:26 +00:00
form-controls-backing-expected.txt
form-controls-backing.html
inline-block-no-backing-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
inline-block-no-backing.html
layer-outside-tiled-parent-expected.txt
layer-outside-tiled-parent.html
masked-child-no-backing-expected.txt
masked-child-no-backing.html
no-backing-for-clip-expected.txt
no-backing-for-clip-overhang-expected.txt
no-backing-for-clip-overhang.html
no-backing-for-clip-overlap-expected.txt
no-backing-for-clip-overlap.html
no-backing-for-clip.html
no-backing-for-opacity-0-child-expected.txt
no-backing-for-opacity-0-child.html
no-backing-for-perspective-expected.txt REGRESSION (r249434): flashy menus on wellsfargo.com 2019-11-14 00:35:07 +00:00
no-backing-for-perspective.html
no-backing-foreground-layer-expected.txt
no-backing-foreground-layer.html
non-composited-visibility-change-expected.html
non-composited-visibility-change.html
overflow-gains-content-expected.html
overflow-gains-content.html
page-scale-overlap-in-iframe-expected.txt REGRESSION (r253634): cricbuzz.com media controls vanish depending on page scale 2020-01-28 06:15:09 +00:00
page-scale-overlap-in-iframe.html REGRESSION (r253634): cricbuzz.com media controls vanish depending on page scale 2020-01-28 06:15:09 +00:00
replaced-child-no-backing-expected.txt
replaced-child-no-backing.html
solid-color-with-paints-into-ancestor-expected.html
solid-color-with-paints-into-ancestor.html
toggle-opacity-0-child-expected.txt
toggle-opacity-0-child.html
transform-transition-from-outside-view-expected.txt
transform-transition-from-outside-view.html
transition-extent-expected.txt WebContent jetsams on Sony lens webpage due to spike of IOSurfaces 2020-02-10 22:27:47 +00:00
transition-extent.html WebContent jetsams on Sony lens webpage due to spike of IOSurfaces 2020-02-10 22:27:47 +00:00
whitespace-nodes-no-backing-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
whitespace-nodes-no-backing.html