Bug 242408 - getFramebufferAttachmentParameter returns incorrect back buffer color sizes
Summary: getFramebufferAttachmentParameter returns incorrect back buffer color sizes
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGL (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-07-06 12:42 PDT by Alexey Knyazev
Modified: 2022-07-27 23:52 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Knyazev 2022-07-06 12:42:22 PDT
Requesting FRAMEBUFFER_ATTACHMENT_{RED/GREEN/BLUE/ALPHA}_SIZE on the default backbuffer always returns zero because of an unintended side-effect of validateDefaultFramebufferAttachment.

This is partly covered by conformance2/state/gl-object-get-calls.html, which is suppressed because of other failures.
Comment 1 Radar WebKit Bug Importer 2022-07-13 12:43:15 PDT
<rdar://problem/96967962>
Comment 2 EWS 2022-07-27 23:52:08 PDT
Committed 252898@main (a523acecfd06): <https://commits.webkit.org/252898@main>

Reviewed commits have been landed. Closing PR #2134 and removing active labels.