Bug 229455 - [Texmap][WebXR] Choose high power GPU when WebXR is enabled
Summary: [Texmap][WebXR] Choose high power GPU when WebXR is enabled
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebXR (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2021-08-24 10:56 PDT by Lauro Moura
Modified: 2021-08-31 10:57 PDT (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Lauro Moura 2021-08-24 10:56:18 PDT

240578@main / r281124 added an attribute to force the choice of a high-power GPU when WebXR is enabled. In WPE, as this attribute is ignored, and the test fails with:

--- /home/lauro/dev/WebKit/layout-test-results/webxr/high-performance-expected.txt                                                                                                                                                   
+++ /home/lauro/dev/WebKit/layout-test-results/webxr/high-performance-actual.txt                                                                                                                                                     
@@ -1,4 +1,4 @@                                                                                                                                                                                                                      
 Default: OK                                                                                                                                                                                                                         
-XR Compatible (should be high-performance): high-performance                                                                                                                                                                        
+XR Compatible (should be high-performance): default                                                                                                                                                                                 

Is this something we'll eventually want to support? Or something that we could just rebaseline?

PS: Just setting the attribute in the context constructor is enough to make the test pass. But without actually requesting the GPU, this feels kinda like "cheating" just to make it pass.
Comment 1 Radar WebKit Bug Importer 2021-08-31 10:57:22 PDT