Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make AnimationPropertyID an enum class
https://bugs.webkit.org/show_bug.cgi?id=250520 Reviewed by Alex Christensen. * Source/WebCore/platform/graphics/GraphicsLayer.cpp: (WebCore::GraphicsLayer::animationNameForTransition): (WebCore::GraphicsLayer::validateFilterOperations): * Source/WebCore/platform/graphics/GraphicsLayer.h: (WebCore::KeyframeValueList::KeyframeValueList): (WebCore::KeyframeValueList::property const): * Source/WebCore/platform/graphics/GraphicsLayerClient.h: (WebCore::GraphicsLayerClient::transformMatrixForProperty const): (WebCore::animatedPropertyIsTransformOrRelated): Deleted. * Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::propertyIdToString): (WebCore::animatedPropertyIsTransformOrRelated): (WebCore::GraphicsLayerCA::moveOrCopyAnimations): (WebCore::GraphicsLayerCA::addAnimation): (WebCore::GraphicsLayerCA::updateAnimations): (WebCore::GraphicsLayerCA::createAnimationFromKeyframes): (WebCore::GraphicsLayerCA::createFilterAnimationsFromKeyframes): (WebCore::GraphicsLayerCA::setAnimationEndpoints): (WebCore::GraphicsLayerCA::setAnimationKeyframes): (WebCore::GraphicsLayerCA::animatedLayer const): (WebCore::GraphicsLayerCA::animatedLayerClones const): (WebCore::operator<<): * Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h: (WebCore::GraphicsLayerCA::LayerPropertyAnimation::LayerPropertyAnimation): * Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.cpp: (Nicosia::createThreadsafeKeyFrames): (Nicosia::Animation::applyInternal): (Nicosia::Animations::remove): (Nicosia::Animations::hasActiveAnimationsOfType const): * Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.h: (Nicosia::Animation::Animation): * Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp: (WebCore::GraphicsLayerTextureMapper::addAnimation): * Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp: (WebCore::CoordinatedGraphicsLayer::shouldHaveBackingStore const): (WebCore::CoordinatedGraphicsLayer::selfOrAncestorHasActiveTransformAnimation const): (WebCore::CoordinatedGraphicsLayer::addAnimation): * Source/WebCore/rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::startAnimation): (WebCore::RenderLayerBacking::graphicsLayerToCSSProperty): (WebCore::RenderLayerBacking::cssToGraphicsLayerProperty): (WebCore::RenderLayerBacking::transformMatrixForProperty const): * Source/WebCore/rendering/RenderLayerBacking.h: * Source/WebKit/WebProcess/Inspector/WebInspectorClient.cpp: (WebKit::WebInspectorClient::showPaintRect): Canonical link: https://commits.webkit.org/258865@main
- Loading branch information
Showing
12 changed files
with
149 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
131 changes: 68 additions & 63 deletions
131
Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.