Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a setting for Chromium's low-end device mode
- Loading branch information
1 parent
574d7c6
commit 6fe09c1
Showing
5 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -210,6 +210,23 @@ qt.process_model: | |
- https://www.chromium.org/developers/design-documents/process-models | ||
- https://doc.qt.io/qt-5/qtwebengine-features.html#process-models | ||
qt.low_end_device_mode: | ||
type: | ||
name: String | ||
valid_values: | ||
- force-on: Always use low-end device mode. | ||
- auto: Decide automatically (uses low-end mode with < 1 GB available | ||
RAM). | ||
- force-off: Never use low-end device mode. | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
default: auto | ||
backend: QtWebEngine | ||
restart: true | ||
desc: >- | ||
Use Chromium's low-end device mode. | ||
This comment has been minimized.
Sorry, something went wrong.
mschilli87
Contributor
|
||
This improves the RAM usage of renderer processes, at the expense of | ||
performance. | ||
qt.highdpi: | ||
type: Bool | ||
default: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 comment
on commit 6fe09c1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mschilli87 I should probably have opened a PR, but mind looking at the configdata.yml
changes here? (2/4)
Why don't we call the options "always", "never", and "auto" (cf.
content.headers.referer
)?