RESOLVED FIXED 227582
WebGL video to texture upload spends time clearing the uploaded-to texture
https://bugs.webkit.org/show_bug.cgi?id=227582
Summary WebGL video to texture upload spends time clearing the uploaded-to texture
Kimmo Kinnunen
Reported 2021-07-01 06:04:24 PDT
WebGL video to texture upload spends time clearing the uploaded-to texture
Attachments
Patch (8.27 KB, patch)
2021-07-01 08:04 PDT, Kimmo Kinnunen
kbr: review+
Radar WebKit Bug Importer
Comment 1 2021-07-01 06:04:46 PDT
Kimmo Kinnunen
Comment 2 2021-07-01 06:40:06 PDT
Visible for content where big textures (4k, for example) are used. https://www.youtube.com/watch?v=HKNI658SKJ4
Kimmo Kinnunen
Comment 3 2021-07-01 08:04:13 PDT
Kenneth Russell
Comment 4 2021-07-01 18:25:40 PDT
Comment on attachment 432690 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=432690&action=review Very nice investigation and work. r+ with one small comment. > Source/WebCore/platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm:271 > + // WebGL requires that all resources are cleared at creation. Could you add a comment here that performing robust resource initialization in the VideoTextureCopier adds a large amount of overhead?
Dean Jackson
Comment 5 2021-07-06 15:34:16 PDT
Note You need to log in before you can comment on or make changes to this bug.