Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5b7de9ac7f51d4802dd241bc86ce3613c11bb8bf
https://github.com/WebKit/WebKit/commit/5b7de9ac7f51d4802dd241bc86ce3613c11bb8bf
Author: Pawel Lampe <[email protected]>
Date: 2025-01-15 (Wed, 15 Jan 2025)
Changed paths:
M Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp
M Source/WebCore/platform/graphics/texmap/TextureMapperLayer.h
M
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp
M
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsScene.cpp
Log Message:
-----------
[TexMap] Implement damage information scaling along with viewport
https://bugs.webkit.org/show_bug.cgi?id=285601
Reviewed by Carlos Garcia Campos.
This change:
- fixes the damage of layers on transform changes
- fixes the damage so that it uses correct transforms
- fixes the damage of layers on size changes
- fixes the damage of layers with m_backingStoreProxy or m_contentsBuffer that
have no changes recorded
thus effectively adding a support for damage information scaling along with
viewport.
* Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:
(WebCore::TextureMapperLayer::computeTransformsRecursive):
(WebCore::TextureMapperLayer::prepareForPainting):
(WebCore::TextureMapperLayer::paint):
(WebCore::TextureMapperLayer::collectDamageSelf):
(WebCore::TextureMapperLayer::damageWholeLayerDueToTransformChange):
(WebCore::TextureMapperLayer::transformRectForDamage):
(WebCore::TextureMapperLayer::setSize):
* Source/WebCore/platform/graphics/texmap/TextureMapperLayer.h:
(WebCore::TextureMapperLayer::canInferDamage const):
*
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp:
(WebCore::CoordinatedPlatformLayer::flushCompositingState):
*
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:
(WebKit::CoordinatedGraphicsScene::paintToCurrentGLContext):
Canonical link: https://commits.webkit.org/288924@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes