mirror of
https://forge.fsky.io/oneflux/omegafox.git
synced 2026-02-10 04:52:03 -08:00
pythonlib: Update WebGL sample database
This commit is contained in:
parent
f6ef52a39b
commit
31963aa83b
4 changed files with 9 additions and 7 deletions
|
|
@ -595,16 +595,18 @@ def launch_options(
|
|||
else:
|
||||
# If the user has provided a specific WebGL vendor/renderer pair, use it
|
||||
if webgl_config:
|
||||
merge_into(config, sample_webgl(target_os, *webgl_config))
|
||||
webgl_fp = sample_webgl(target_os, *webgl_config)
|
||||
else:
|
||||
merge_into(config, sample_webgl(target_os))
|
||||
webgl_fp = sample_webgl(target_os)
|
||||
enable_webgl2 = webgl_fp.pop('webGl2Enabled')
|
||||
|
||||
# Use software rendering to be less unique
|
||||
# Merge the WebGL fingerprint into the config
|
||||
merge_into(config, webgl_fp)
|
||||
# Set the WebGL preferences
|
||||
merge_into(
|
||||
firefox_user_prefs,
|
||||
{
|
||||
'webgl.forbid-software': False,
|
||||
'webgl.forbid-hardware': True,
|
||||
'webgl.enable-webgl2': enable_webgl2,
|
||||
'webgl.force-enabled': True,
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
|
|||
|
||||
[tool.poetry]
|
||||
name = "camoufox"
|
||||
version = "0.4.5"
|
||||
version = "0.4.6-beta"
|
||||
description = "Wrapper around Playwright to help launch Camoufox"
|
||||
authors = ["daijro <daijro.dev@gmail.com>"]
|
||||
license = "MIT"
|
||||
|
|
|
|||
|
|
@ -230,7 +230,7 @@
|
|||
"36063": "int | nil",
|
||||
"36183": "int | nil",
|
||||
"36203": "int | nil",
|
||||
"36345": "nil",
|
||||
"36345": "int | nil",
|
||||
"36347": "int",
|
||||
"36348": "int",
|
||||
"36349": "int",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue