Bug 199789

Summary: [WebGL] Remove software rendering and simplify context creation on macOS
Product: WebKit Reporter: Dean Jackson <dino>
Component: New BugsAssignee: Dean Jackson <dino>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, esprehn+autocc, ews-watchlist, graouts, gyuyoung.kim, kondapallykalyan, sam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch sam: review+

Dean Jackson
Reported 2019-07-14 15:35:38 PDT
[WebGL] Remove software rendering and simplify context creation on macOS
Attachments
Patch (20.01 KB, patch)
2019-07-14 15:40 PDT, Dean Jackson
sam: review+
Dean Jackson
Comment 1 2019-07-14 15:40:06 PDT
Sam Weinig
Comment 2 2019-07-14 17:58:03 PDT
Comment on attachment 374096 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=374096&action=review > Source/WebCore/ChangeLog:9 > + We don't ever want to fall-back to the software renderer. We'd be better > + off failing to create the context completely. Why is this? Why did we support it in the first place? > Source/WebCore/platform/graphics/GraphicsContext3DManager.cpp:177 > - ASSERT(m_contexts.contains(context)); > + if (!m_contexts.contains(context)) > + return; What is this change for? > Source/WebCore/platform/graphics/GraphicsContext3DManager.cpp:212 > + if (!context) > + return; What is this change for?
Dean Jackson
Comment 3 2019-07-15 13:50:23 PDT
Comment on attachment 374096 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=374096&action=review >> Source/WebCore/ChangeLog:9 >> + off failing to create the context completely. > > Why is this? Why did we support it in the first place? Because we thought it was a good idea, but the performance and conformance are not acceptable. >> Source/WebCore/platform/graphics/GraphicsContext3DManager.cpp:177 >> + return; > > What is this change for? If we have a null m_contextObj, we didn't add ourselves to the GC3DManager. However, the GC3D was still created, so it tries to remove itself from the manager at destruction time. I should have noted this in the ChangeLog - I'll add it. >> Source/WebCore/platform/graphics/GraphicsContext3DManager.cpp:212 >> + return; > > What is this change for? This shouldn't be needed.
Dean Jackson
Comment 4 2019-07-15 15:29:04 PDT
Radar WebKit Bug Importer
Comment 5 2019-07-15 15:31:32 PDT
Note You need to log in before you can comment on or make changes to this bug.