[webkit-changes] [WebKit/WebKit] 829960: Make AnimationPropertyID an enum class

Antoine Quint noreply at github.com
Thu Jan 12 22:28:32 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8299608484f71712ae68fc3775bc299e55f1377f
      https://github.com/WebKit/WebKit/commit/8299608484f71712ae68fc3775bc299e55f1377f
  Author: Antoine Quint <graouts at apple.com>
  Date:   2023-01-12 (Thu, 12 Jan 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/GraphicsLayer.cpp
    M Source/WebCore/platform/graphics/GraphicsLayer.h
    M Source/WebCore/platform/graphics/GraphicsLayerClient.h
    M Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp
    M Source/WebCore/platform/graphics/ca/GraphicsLayerCA.h
    M Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.cpp
    M Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.h
    M Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
    M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
    M Source/WebCore/rendering/RenderLayerBacking.cpp
    M Source/WebCore/rendering/RenderLayerBacking.h
    M Source/WebKit/WebProcess/Inspector/WebInspectorClient.cpp

  Log Message:
  -----------
  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




More information about the webkit-changes mailing list