Bug 217005

Summary: [WebGL2] Add extension availability tests
Product: WebKit Reporter: Kenneth Russell <kbr>
Component: WebGLAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: dino, jdarpinian, kkinnunen, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 126404    

Kenneth Russell
Reported 2020-09-25 17:32:46 PDT
In order to ensure that WebKit advertises the expected WebGL 1.0 and 2.0 extensions - and doesn't silently regress - it's necessary to add some layout tests verifying this. The difficulty is that the advertised extensions differ from GPU to GPU, not just from platform to platform. TestExpectations can't currently suppress failures based on the GPU type on the system. In Slack discussions, dino@ suggests to add an Internals method to either: - Query the GPU type - Query the expected extensions for the current platform - Enable the WEBGL_debug_renderer_info extension and determine extension availability inside the test based on the result or similar.
Attachments
Radar WebKit Bug Importer
Comment 1 2020-10-02 17:33:17 PDT
Note You need to log in before you can comment on or make changes to this bug.