WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
199789
[WebGL] Remove software rendering and simplify context creation on macOS
https://bugs.webkit.org/show_bug.cgi?id=199789
Summary
[WebGL] Remove software rendering and simplify context creation on macOS
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+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Dean Jackson
Comment 1
2019-07-14 15:40:06 PDT
Created
attachment 374096
[details]
Patch
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
Committed
r247453
: <
https://trac.webkit.org/changeset/247453
>
Radar WebKit Bug Importer
Comment 5
2019-07-15 15:31:32 PDT
<
rdar://problem/53125394
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug