Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 0a48a1c5428e9ca3783332415b7d4b674348c994 https://github.com/WebKit/WebKit/commit/0a48a1c5428e9ca3783332415b7d4b674348c994 Author: Youenn Fablet <youe...@gmail.com> Date: 2023-05-11 (Thu, 11 May 2023)
Changed paths: A LayoutTests/http/wpt/webcodecs/canvas-drawVideoFrame-expected.html A LayoutTests/http/wpt/webcodecs/canvas-drawVideoFrame.html M Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp Log Message: ----------- canvas freezed when drawing new VideoFrame(video) to canvas https://bugs.webkit.org/show_bug.cgi?id=256509 rdar://109100283 Reviewed by Eric Carlson. We need to invalidate the canvas after drawing the VideoFrame. Covered by added ref test. * LayoutTests/http/wpt/webcodecs/canvas-drawVideoFrame-expected.html: Added. * LayoutTests/http/wpt/webcodecs/canvas-drawVideoFrame.html: Added. * Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp: (WebCore::CanvasRenderingContext2DBase::drawImage): Canonical link: https://commits.webkit.org/263959@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes