Bug 242408

Summary: getFramebufferAttachmentParameter returns incorrect back buffer color sizes
Product: WebKit Reporter: Alexey Knyazev <lexa.knyazev>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: dino, kbr, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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.