[webkit-changes] [WebKit/WebKit] 0a48a1: canvas freezed when drawing new VideoFrame(video) ...
youennf
noreply at github.com
Thu May 11 05:26:36 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0a48a1c5428e9ca3783332415b7d4b674348c994
https://github.com/WebKit/WebKit/commit/0a48a1c5428e9ca3783332415b7d4b674348c994
Author: Youenn Fablet <youennf at 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
More information about the webkit-changes
mailing list