mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-20 13:26:02 +00:00
fix: droiddeck-session: BL_VKBRIDGE_CEF_ANGLE reaches Chromium through the web helper preload
Steam drops -cef-use-angle: on the bridge the CEF GPU process reports ANGLE_OPENGL (ANGLE on Zink) with -cef-use-angle=vulkan on the command line. An explicit BL_VKBRIDGE_CEF_ANGLE now also becomes --use-gl=angle --use-angle=<backend> on steamwebhelper's own argv (stock process layout kept); unset, nothing changes.
This commit is contained in:
1 parent
30a70a0f7c
commit
e527d4a9f3
2 files changed
+10
-1
No files matched your search
@@ -61,6 +61,12 @@ class WebhelperPreloadTest(unittest.TestCase):
|
||||
args = [WEBHELPER, "--enable-features=A"]
|
||||
self.assertEqual(self.argv(*args, spec="stock"), args)
|
||||
|
||||
def test_angle_switches_are_appended_with_the_gpu_process_kept_out_of_process(self):
|
||||
out = self.argv(WEBHELPER, "-lang=en_US", "--enable-features=A", spec="--use-gl=angle --use-angle=vulkan")
|
||||
self.assertEqual(out, [WEBHELPER, "-lang=en_US", "--use-gl=angle", "--use-angle=vulkan",
|
||||
"--enable-features=A"])
|
||||
self.assertNotIn("--in-process-gpu", out)
|
||||
|
||||
def test_an_empty_setting_means_the_default(self):
|
||||
self.assertIn("--no-zygote", self.argv(WEBHELPER, spec=""))
|
||||
|
||||
|
||||
Reference in new issue
Block a user