WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 246335
251506
WebGL in <iframe> is very slow with Metal
https://bugs.webkit.org/show_bug.cgi?id=251506
Summary
WebGL in <iframe> is very slow with Metal
Marcin
Reported
2023-02-01 04:37:53 PST
WebGL in <iframe> is very slow with Metal backend enabled. - Disabling Metal backend solves the problem. - I've tried limiting resolution to the minimum 160x90, but it does not help. - I've observed massive battery drain, so it is probably not just Safari is throttling the RAF inside iframe.
Attachments
Add attachment
proposed patch, testcase, etc.
Kimmo Kinnunen
Comment 1
2023-02-01 06:38:33 PST
Thanks for the report. If you have set of .html files for a simple repro, that would be very helpful.
Marcin
Comment 2
2023-02-01 08:07:01 PST
My mistake Kimmo. While preparing the test files for you, I realized that I am using flat variables in the shaders (inside the test iframe). The slowdown has nothing to do with iframes but with
https://bugs.webkit.org/show_bug.cgi?id=246335
I apologize for submitting this false report.
Kimmo Kinnunen
Comment 3
2023-02-01 23:10:14 PST
Thanks for letting us know. Once
bug 251259
ships, many algorithms using flat shading can use provoking vertex extension to select the most performant configuration for particular platform. *** This bug has been marked as a duplicate of
bug 246335
***
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