| Summary: | WebGL calls into static GraphicsContextGLOpenGL functions needlessly | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> | ||||||||||
| Component: | WebGL | Assignee: | Kimmo Kinnunen <kkinnunen> | ||||||||||
| Status: | RESOLVED FIXED | ||||||||||||
| Severity: | Normal | CC: | cdumez, changseok, dino, esprehn+autocc, ews-watchlist, gyuyoung.kim, kbr, kkinnunen, kondapallykalyan, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | WebKit Local Build | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Bug Depends on: | |||||||||||||
| Bug Blocks: | 229404 | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Kimmo Kinnunen
2021-08-23 03:24:05 PDT
Created attachment 436178 [details]
Patch
Created attachment 436184 [details]
Patch
Created attachment 436185 [details]
Patch
Comment on attachment 436185 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=436185&action=review Looks good in principle; I didn't look into the failures on the platforms not yet using ANGLE. Hopefully they won't be hard to figure out. r+ > Source/WebCore/html/canvas/WebGLFramebuffer.cpp:409 > +#endif Now might be a good time to add comments to the #endifs like: #endif // !USE(ANGLE) because it's hard to see what it matches up with once these blocks span multiple lines of code. > Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:639 > #endif Please consider commenting the #endifs to make them easier to read. Created attachment 436373 [details]
Patch for landing
Committed r281621 (240977@main): <https://commits.webkit.org/240977@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 436373 [details]. |