RESOLVED FIXED 240275
Introduce a canvas-drawImage specific method to get a NativeImage from a video element
https://bugs.webkit.org/show_bug.cgi?id=240275
Summary Introduce a canvas-drawImage specific method to get a NativeImage from a vide...
youenn fablet
Reported 2022-05-10 04:50:19 PDT
Introduce a canvas-drawImage specific method to get a NativeImage from a video element
Attachments
Patch (7.65 KB, patch)
2022-05-10 05:29 PDT, youenn fablet
no flags
Patch (7.22 KB, patch)
2022-05-11 00:23 PDT, youenn fablet
no flags
youenn fablet
Comment 1 2022-05-10 05:29:23 PDT
Sam Weinig
Comment 2 2022-05-10 10:22:22 PDT
Comment on attachment 459110 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=459110&action=review > Source/WebCore/platform/graphics/MediaPlayer.h:479 > + RefPtr<NativeImage> currentNativeImageForCanvasDrawing(); The functions above use the phrasing "ForCurrentTime" rather than just "current". Would be good to stay consistent here:` nativeImageForCanvasDrawingForCurrentTime()`
youenn fablet
Comment 3 2022-05-11 00:21:44 PDT
After discussion with Eric, a boolean getter might be a better fit.
youenn fablet
Comment 4 2022-05-11 00:23:27 PDT
EWS
Comment 5 2022-05-11 10:21:48 PDT
Committed r294057 (250461@main): <https://commits.webkit.org/250461@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 459146 [details].
Radar WebKit Bug Importer
Comment 6 2022-05-11 10:22:14 PDT
Note You need to log in before you can comment on or make changes to this bug.