Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cocoa] Extra transform left on video layer when UI-side compositing …
…is disabled https://bugs.webkit.org/show_bug.cgi?id=256027 rdar://108109357 Reviewed by Eric Carlson. In -resolveBounds, we bail out early if the WKVideoLayerRemote has the correct bounds and has a identity affineTransform. But in -layoutSublayers we apply the transform directly to the videoLayer, rather than the WKVideoLayerRemote itself, so this check will always succeed. Leaving the transformation in place _should_ have no perceivable side effects. However power testing has revealed that in some circumstances, this layer change may result in excess power use when displaying video in fullscreen mode. * Source/WebKit/WebProcess/GPU/media/cocoa/VideoLayerRemoteCocoa.mm: (-[WKVideoLayerRemote resolveBounds]): Canonical link: https://commits.webkit.org/263456@main
- Loading branch information