WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
218187
Web Inspector WebGL canvas debugger is reading uninitialised drawing buffers intentionally
https://bugs.webkit.org/show_bug.cgi?id=218187
Summary
Web Inspector WebGL canvas debugger is reading uninitialised drawing buffers ...
Kimmo Kinnunen
Reported
2020-10-26 06:44:51 PDT
Web Inspector WebGL canvas debugger is: * reading uninitialised drawing buffers intentionally * displaying at best 3 buffers old content (at worst, seee above) * is most likely corrupting the toDataURL / snapshot / printing cache bitmap The problem the inspector hack is trying to solve is: * need to capture snapshot of synchronously * need to capture drawing buffer if drawing buffer has been drawn to * need to capture display buffer if drawing buffer has not been draw to Fix by: * introducing a better function to read the canvas content * implement display buffer read * not pollute the HTMLCanvasElement "rendering results" image * implement cairo toDataURL or route data through ImageBuffer
Attachments
Add attachment
proposed patch, testcase, etc.
Kimmo Kinnunen
Comment 1
2020-10-26 06:45:55 PDT
See also
bug 218186
where roughly similar problems have resulted in a different hack
Radar WebKit Bug Importer
Comment 2
2020-11-02 05:45:31 PST
<
rdar://problem/70946992
>
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