Yes, that's exactly what I mean. I will try that today and report
back. Thanks!
On Mon, 4 May 2015, at 10:51 AM, Xu, Xing wrote:
> 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
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help