[webkit-changes] [WebKit/WebKit] f994a1: Holepunch missing after video source change
Miguel Gómez
noreply at github.com
Fri Sep 16 01:30:52 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f994a1b3e3dc9b3d2eae06e7464b0fd2fd70ce2c
https://github.com/WebKit/WebKit/commit/f994a1b3e3dc9b3d2eae06e7464b0fd2fd70ce2c
Author: Miguel Gomez <magomez at igalia.com>
Date: 2022-09-16 (Fri, 16 Sep 2022)
Changed paths:
M Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp
Log Message:
-----------
Holepunch missing after video source change
https://bugs.webkit.org/show_bug.cgi?id=245135
Reviewed by Žan Doberšek.
When adopting the new state in the scene, invalidate the proxies that are not used anymore
before activating the new ones.
This fixes a situation where a layer's proxy is replaced with a new one. For this to work
properly, the old proxy needs to be invalidated before the new one is activated, or the
invalidation will clear the contentLayer that was set by the new proxy to the associated
TextureMapperLayer.
* Source/WebKit/Shared/CoordinatedGraphics/CoordinatedGraphicsScene.cpp:
(WebKit::CoordinatedGraphicsScene::updateSceneState):
Canonical link: https://commits.webkit.org/254548@main
More information about the webkit-changes
mailing list