Sorry, one correction: currently this flag does apply to the render thread and gpu thread. For browser thread(On Android), this is useless. So are you testing the swap interval in the gpu thread?
Regards, Xing From: Crosswalk-help [mailto:[email protected]] On Behalf Of Xu, Xing Sent: Wednesday, May 18, 2016 10:20 AM To: Bar Ziony <[email protected]> Cc: [email protected] Subject: Re: [Crosswalk-help] How to enable the —disable-gpu-vsync flag? How did you test this? Currently this flag does only apply to the render thread. For browser thread(On Android), this is useless. BTW, there are two variants of this flag: Xwalk --disable-gpu-vsync=gpu Xwalk --disable-gpu-vsync=beginframe Regards, Xing From: Bar Ziony [mailto:[email protected]] Sent: Tuesday, May 17, 2016 4:28 PM To: Xu, Xing <[email protected]<mailto:[email protected]>> Cc: [email protected]<mailto:[email protected]> Subject: Re: [Crosswalk-help] How to enable the —disable-gpu-vsync flag? We’re looking to disable vsync for testing purposes. With Chrome you can disable async by passing the flag —disable-gpu-vsync on the command line, but passing it to Crosswalk (through config.xml) does not work. Anything I’m doing wrong? Thanks, Bar. On Tue, May 17, 2016 at 5:37 AM, Xu, Xing <[email protected]<mailto:[email protected]>> wrote: We are currently under vsync. And we didn’t test flag —disable-gpu-vsync before. Could you please help to share some background about this? Also, you may help to rise a ticket here: https://crosswalk-project.org/jira/ Regards, Xing From: Crosswalk-help [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Bar Ziony Sent: Monday, May 16, 2016 10:49 PM To: [email protected]<mailto:[email protected]> Subject: [Crosswalk-help] How to enable the —disable-gpu-vsync flag? Hi, How can I enable the —disable-gpu-vsync flag in Crosswalk for Android (I’m using Crosswalk 18)? I tried adding the following line to config.xml but vsync was still enabled. <preference name=“xwalkCommandLine" value="--disable-gpu-vsync" /> Thanks, Bar.
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
