RESOLVED FIXED Bug 180050
Implement OffscreenCanvas.getContext("webgl")
https://bugs.webkit.org/show_bug.cgi?id=180050
Summary Implement OffscreenCanvas.getContext("webgl")
Dean Jackson
Reported 2017-11-27 13:04:45 PST
Implement OffscreenCanvas.getContext("webgl")
Attachments
Patch (31.26 KB, patch)
2017-11-27 13:18 PST, Dean Jackson
sam: review+
Radar WebKit Bug Importer
Comment 1 2017-11-27 13:07:10 PST
Dean Jackson
Comment 2 2017-11-27 13:18:12 PST
Sam Weinig
Comment 3 2017-11-27 13:32:17 PST
Comment on attachment 327666 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=327666&action=review > Source/WebCore/html/OffscreenCanvas.cpp:81 > + if (m_context) > + return { RefPtr<WebGLRenderingContext> { &downcast<WebGLRenderingContext>(*m_context) } }; I think this should only return m_context if contextType == RenderingContextType::Webgl. Otherwise, it should be nullptr.
Dean Jackson
Comment 4 2017-11-27 14:13:07 PST
Note You need to log in before you can comment on or make changes to this bug.