Bug 239589

Summary: Web Inspector: [WebGL] Display bitfields as combination of named constants
Product: WebKit Reporter: Dan Glastonbury <djg>
Component: Web InspectorAssignee: Dan Glastonbury <djg>
Status: RESOLVED FIXED    
Severity: Normal CC: hi, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   

Description Dan Glastonbury 2022-04-20 22:03:19 PDT
Currently there are a few places in WebGL that take a GLbitfield of "or"ed flags. Instead of rendering the numeric value of the flags, it would be better to display the descriptive names of the flags. Eg:

`clear(context.COLOR_BUFFER_BIT|context.DEPTH_BUFFER_BIT|context.STENCIL_BUFFER_BIT)`

instead of:

`clear(17664)`
Comment 1 Dan Glastonbury 2022-04-21 02:50:33 PDT
Pull request: https://github.com/WebKit/WebKit/pull/341
Comment 2 Radar WebKit Bug Importer 2022-04-27 22:04:12 PDT
<rdar://problem/92439695>
Comment 3 EWS 2022-05-02 18:00:11 PDT
Committed r293706 (250195@main): <https://commits.webkit.org/250195@main>

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