Hi, Rob
Does you mean to change this in code instead of file xwalk-command-line?
If so, you may try:
final String commandLineParams [] = { "--disable-gpu-rasterization" };
CommandLine.getInstance().appendSwitchesAndArguments(commandLineParams);

From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of Robert 
Norris
Sent: Friday, May 1, 2015 9:04 AM
To: [email protected]
Subject: [Crosswalk-help] Changing command line options programatically

Hi there,

I have a user on an older device that sees serious rendering glitches. We've 
managed to determine that the app works fine for him with the 
--disable-gpu-rasterization switch.

I know I can add this switch to assets/xwalk-command-line but that would set it 
for everyone. What I want to do is offer a preference setting to add/remove 
this switch. Of course the app requires a restart but that's fine.

Is there any way to do this?

Cheers,

Rob N.
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to