forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1337062 - Transfer initial gfxVars over command line - r=blassey
When a subprocess is launched, gfxVars updates (for non-default values) are serialized and passed on the command line, up to a limit of 1023 characters, and ensuring it should not overflow the command line size. When the child starts, the command line parameter is given to gfxVars, so the updates can be used during gfxVars::Initialize(), instead of doing a sync request to the parent. In case the updates are not sent, or in the unlikely case the child cannot parse them, we fallback to the sync request -- The former case should be rare enough that a slow sync request is acceptable: It should only happen if D3D block-list is *modified* (most people would either use the default, or just overwrite these prefs with short strings.) MozReview-Commit-ID: 6MoJC0fe59Q --HG-- extra : rebase_source : cdc2e451783160c579b8fc84050e8457c600523e
- Loading branch information
Showing
4 changed files
with
236 additions
and
7 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
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