[Webkit-unassigned] [Bug 238134] Validate readpixels format and type inside of WebCore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 22 18:09:25 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=238134

--- Comment #11 from Kenneth Russell <kbr at google.com> ---
After further discussion on Slack, I see that the existing validateArrayBufferType is used for both Tex{Sub}Image and ReadPixels operations.

Still - would you consider passing an additional parameter to validateArrayBufferType, whether it's for ReadPixels or not? Then it could reject UNSIGNED_INT_24_8 for ReadPixels and avoid duplicating this code.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220323/a9108c8d/attachment.htm>


More information about the webkit-unassigned mailing list