Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 98d2c991bb5de85a4291d854df8c19b9ce9cdbd4 https://github.com/WebKit/WebKit/commit/98d2c991bb5de85a4291d854df8c19b9ce9cdbd4 Author: Kimmo Kinnunen <kkinnu...@apple.com> Date: 2023-12-19 (Tue, 19 Dec 2023)
Changed paths: M Source/WebCore/platform/graphics/cv/GraphicsContextGLCVCocoa.cpp M Source/WebCore/platform/graphics/cv/GraphicsContextGLCVCocoa.h Log Message: ----------- REGRESSION (iOS 17): Front and Back Facing Camera Stutter https://bugs.webkit.org/show_bug.cgi?id=265556 rdar://119076271 Reviewed by Youenn Fablet. Some platforms appear to construct new IOSurface contents on top of existing IOSurface instance and metadata. Video texture upload was skipped if the IOSurface object instance pointer and seed matched, but on some platform it appears that camera produces such new surfaces with the surface id changing. Fix by adding surface id to the cache key. * Source/WebCore/platform/graphics/cv/GraphicsContextGLCVCocoa.cpp: (WebCore::GraphicsContextGLCVCocoa::copyVideoSampleToTexture): * Source/WebCore/platform/graphics/cv/GraphicsContextGLCVCocoa.h: Canonical link: https://commits.webkit.org/272263@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes