RESOLVED FIXED 220460
GraphicsContextGLOpenGL::reshapeFBOs() ANGLE variant calls into makeContextCurrent()
https://bugs.webkit.org/show_bug.cgi?id=220460
Summary GraphicsContextGLOpenGL::reshapeFBOs() ANGLE variant calls into makeContextCu...
Kimmo Kinnunen
Reported 2021-01-08 05:22:07 PST
GraphicsContextGLOpenGL::reshapeFBOs() ANGLE variant calls into makeContextCurrent() The calls to makeCurrentContext() should only be made during entering of a public method. The call fails in certain conditions during reshape(), as reshape() is in middle of reshaping the default frame buffer and currently makeContextCurrent() uses the size information to determine if the context is in valid state or not. Long term the " the size information to determine"-part should be removed, but it's a bit tricky to test. Removing the redundant makeContextCurrent() calls should be a goal anyway, so fixing this leaf problem should be a good short term fix.
Attachments
Patch (5.90 KB, patch)
2021-01-08 05:25 PST, Kimmo Kinnunen
no flags
Patch (7.12 KB, patch)
2021-01-12 04:00 PST, Kimmo Kinnunen
no flags
Kimmo Kinnunen
Comment 1 2021-01-08 05:25:55 PST
Kimmo Kinnunen
Comment 2 2021-01-12 04:00:08 PST
Radar WebKit Bug Importer
Comment 3 2021-01-15 05:23:13 PST
EWS
Comment 4 2021-01-17 23:41:47 PST
Committed r271572: <https://trac.webkit.org/changeset/271572> All reviewed patches have been landed. Closing bug and clearing flags on attachment 417443 [details].
Note You need to log in before you can comment on or make changes to this bug.