[webkit-changes] [WebKit/WebKit] daba63: [TextureMapper] Rename Nicosia::Animation back to ...
Carlos Garcia Campos
noreply at github.com
Mon Oct 14 05:17:27 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: daba63bbf1a7c5ee68ac3f814021d27c8e268147
https://github.com/WebKit/WebKit/commit/daba63bbf1a7c5ee68ac3f814021d27c8e268147
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2024-10-14 (Mon, 14 Oct 2024)
Changed paths:
M Source/WebCore/platform/SourcesNicosia.txt
M Source/WebCore/platform/TextureMapper.cmake
R Source/WebCore/platform/graphics/nicosia/NicosiaAnimatedBackingStoreClient.h
R Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.cpp
R Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.h
M Source/WebCore/platform/graphics/nicosia/NicosiaCompositionLayer.h
M Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
M Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.h
A Source/WebCore/platform/graphics/texmap/TextureMapperAnimation.cpp
A Source/WebCore/platform/graphics/texmap/TextureMapperAnimation.h
M Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp
M Source/WebCore/platform/graphics/texmap/TextureMapperLayer.h
A Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedAnimatedBackingStoreClient.cpp
A Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedAnimatedBackingStoreClient.h
M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
M Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h
Log Message:
-----------
[TextureMapper] Rename Nicosia::Animation back to TextureMapperAnimation
https://bugs.webkit.org/show_bug.cgi?id=281296
Reviewed by Miguel Gomez.
It's used by TextureMapper even not coordinated graphics is not enabled.
Also simplify the coordinated graphics animated backing store client.
* Source/WebCore/platform/SourcesNicosia.txt:
* Source/WebCore/platform/TextureMapper.cmake:
* Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.h: Removed.
* Source/WebCore/platform/graphics/nicosia/NicosiaCompositionLayer.h:
* Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
(WebCore::GraphicsLayerTextureMapper::addAnimation):
* Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.h:
* Source/WebCore/platform/graphics/texmap/TextureMapperAnimation.cpp: Renamed from Source/WebCore/platform/graphics/nicosia/NicosiaAnimation.cpp.
(WebCore::shouldReverseAnimationValue):
(WebCore::normalizedAnimationValue):
(WebCore::normalizedAnimationValueForFillsForwards):
(WebCore::timingFunctionForAnimationValue):
(WebCore::TextureMapperAnimation::TextureMapperAnimation):
(WebCore::TextureMapperAnimation::operator=):
(WebCore::TextureMapperAnimation::apply):
(WebCore::TextureMapperAnimation::pause):
(WebCore::TextureMapperAnimation::resume):
(WebCore::TextureMapperAnimation::computeTotalRunningTime):
(WebCore::TextureMapperAnimation::applyInternal):
(WebCore::TextureMapperAnimations::add):
(WebCore::TextureMapperAnimations::remove):
(WebCore::TextureMapperAnimations::pause):
(WebCore::TextureMapperAnimations::suspend):
(WebCore::TextureMapperAnimations::resume):
(WebCore::TextureMapperAnimations::apply):
(WebCore::TextureMapperAnimations::hasActiveAnimationsOfType const):
(WebCore::TextureMapperAnimations::hasRunningAnimations const):
(WebCore::TextureMapperAnimations::hasRunningTransformAnimations const):
* Source/WebCore/platform/graphics/texmap/TextureMapperAnimation.h: Added.
(WebCore::TextureMapperAnimation::name const):
(WebCore::TextureMapperAnimation::keyframes const):
(WebCore::TextureMapperAnimation::state const):
(WebCore::TextureMapperAnimation::timingFunction const):
(WebCore::TextureMapperAnimations::setTranslate):
(WebCore::TextureMapperAnimations::setRotate):
(WebCore::TextureMapperAnimations::setScale):
(WebCore::TextureMapperAnimations::setTransform):
(WebCore::TextureMapperAnimations::isEmpty const):
(WebCore::TextureMapperAnimations::size const):
(WebCore::TextureMapperAnimations::animations const):
(WebCore::TextureMapperAnimations::animations):
* Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:
(WebCore::TextureMapperLayer::setAnimations):
(WebCore::TextureMapperLayer::setAnimatedBackingStoreClient):
(WebCore::TextureMapperLayer::syncAnimations):
* Source/WebCore/platform/graphics/texmap/TextureMapperLayer.h:
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedAnimatedBackingStoreClient.cpp: Added.
(WebCore::CoordinatedAnimatedBackingStoreClient::create):
(WebCore::CoordinatedAnimatedBackingStoreClient::CoordinatedAnimatedBackingStoreClient):
(WebCore::CoordinatedAnimatedBackingStoreClient::invalidate):
(WebCore::CoordinatedAnimatedBackingStoreClient::setCoverRect):
(WebCore::CoordinatedAnimatedBackingStoreClient::requestBackingStoreUpdateIfNeeded):
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedAnimatedBackingStoreClient.h: Renamed from Source/WebCore/platform/graphics/nicosia/NicosiaAnimatedBackingStoreClient.h.
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::~CoordinatedGraphicsLayer):
(WebCore::CoordinatedGraphicsLayer::clampToContentsRectIfRectIsInfinite):
(WebCore::CoordinatedGraphicsLayer::flushCompositingStateForThisLayerOnly):
(WebCore::CoordinatedGraphicsLayer::updateContentBuffers):
(WebCore::CoordinatedGraphicsLayer::purgeBackingStores):
(WebCore::CoordinatedGraphicsLayer::computeTransformedVisibleRect):
(WebCore::CoordinatedGraphicsLayer::addAnimation):
(WebCore::CoordinatedGraphicsLayer::acceleratedAnimationsForTesting const):
(WebCore::clampToContentsRectIfRectIsInfinite): Deleted.
* Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.h:
Canonical link: https://commits.webkit.org/285117@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list