| Summary: | WebGL video to texture upload spends time clearing the uploaded-to texture | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> | ||||
| Component: | WebGL | Assignee: | Kimmo Kinnunen <kkinnunen> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | dino, ews-watchlist, kbr, kkinnunen, kondapallykalyan, simon.fraser, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Local Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 227585 | ||||||
| Attachments: |
|
||||||
|
Description
Kimmo Kinnunen
2021-07-01 06:04:24 PDT
Visible for content where big textures (4k, for example) are used. https://www.youtube.com/watch?v=HKNI658SKJ4 Created attachment 432690 [details]
Patch
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? Committed r279624 (239442@main): <https://commits.webkit.org/239442@main> |