Summary: | Final refactor for WebGL implementation to use only GraphicsContextGL | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kimmo Kinnunen <kkinnunen> | ||||||||||||||||
Component: | WebGL | Assignee: | Kimmo Kinnunen <kkinnunen> | ||||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||||
Severity: | Normal | CC: | calvaris, cdumez, cgarcia, changseok, dino, eric.carlson, esprehn+autocc, ews-watchlist, glenn, graouts, gustavo, gyuyoung.kim, hi, jer.noble, joepeck, kondapallykalyan, menard, philipj, pnormand, sam, sergio, simon.fraser, vjaquez, webkit-bug-importer | ||||||||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||||||||
Version: | WebKit Local Build | ||||||||||||||||||
Hardware: | All | ||||||||||||||||||
OS: | Unspecified | ||||||||||||||||||
Bug Depends on: | |||||||||||||||||||
Bug Blocks: | 217211, 218972 | ||||||||||||||||||
Attachments: |
|
Description
Kimmo Kinnunen
2020-10-29 05:33:14 PDT
Created attachment 412637 [details]
Patch
Created attachment 412643 [details]
Patch
Would be a bit easier to review if the unrelated whitespace changes were not part of the change. Created attachment 414015 [details]
Patch
Created attachment 414021 [details]
Patch
Created attachment 414028 [details]
Patch
Created attachment 414030 [details]
Patch
Comment on attachment 414030 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=414030&action=review > Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:1790 > + static_cast<GraphicsContextGLOpenGL*>(m_context.get())->compressedTexImage2D(target, level, internalformat, width, height, I think you should add SPECIALIZE_TYPE_TRAITS macros and use downcast<> for all these casts. Tools/Scripts/svn-apply failed to apply attachment 414030 [details] to trunk.
Please resolve the conflicts and upload a new patch.
Created attachment 414201 [details]
Patch
(In reply to Simon Fraser (smfr) from comment #9) > I think you should add SPECIALIZE_TYPE_TRAITS macros and use downcast<> for > all these casts. I filed this as bug 218972, so it doesn't block landing this one. IIUC, this is landable given the r+? I'd rather first try to remove the code-paths altogether. They're a bit inconvenient to edit as in Apple env we don't compile these at all. Committed r269850: <https://trac.webkit.org/changeset/269850> All reviewed patches have been landed. Closing bug and clearing flags on attachment 414201 [details]. |