Thanks for the feedbacks. I've reported a bug to track it: 
https://crosswalk-project.org/jira/browse/XWALK-2731

For "--fullscreen", I guess it conflicts with config.xml setting. Guangzhen 
(CCing) once worked on this feature. Guangzhen, do you have any thoughts?

-ningxin

From: Noom Nahor [mailto:[email protected]]
Sent: Tuesday, October 14, 2014 12:03 PM
To: Hu, Ningxin
Subject: Re: [Crosswalk-help] cordova crosswalk custom command line help

Yes, this is correct, I discovered this a day or so after writing to the list. 
Another mistake I made which is in small part due to the documentation I read, 
was that I made it a "text file" - as in, the extension .txt - this of course 
stops it from working as well.

On the topic of the "xwalk-command-line" file, --fullscreen doesn't work for 
crosswalk-cordova, which is interesting because I tested a few of the other 
commands and they do in fact work.
Is this just because --fullscreen clashes with the fullscreen property used by 
the cordova half of the app? (res/xml/config.xml)

Thanks for the help!

Rohan.
On 14/10/2014 12:14 PM, Hu, Ningxin wrote:
Hi Rohan,

I think you can just put "xwalk-command-line" file under "assets" folder of 
your Crosswalk-Cordova app. It should be a documentation issue of the 
"platforms/android/assets/" on wiki.

Thanks for using Crosswalk.

-ningxin

From: Crosswalk-help 
[mailto:[email protected]] On Behalf Of Noom 
Nahor
Sent: Sunday, October 12, 2014 1:10 PM
To: 
[email protected]<mailto:[email protected]>
Subject: [Crosswalk-help] cordova crosswalk custom command line help

Hello all, this is my first time posting to a mailing list so please pardon any 
faux pas I may commit.

I have been chasing down a rendering issue I'm having with a game I'm 
developing using cordova crosswalk (android). I have pin pointed the problem to 
be with my rendering engine (PIXI js) and some form of bug when it's using 
canvas instead of webGL(if you're curious, the issue is here 
https://github.com/GoodBoyDigital/pixi.js/issues/1038).
However this has lead me to discover an issue with cordova crosswalk and the 
documentation.
So to be clear, this issue only occurs when I'm forced to use canvas instead of 
webGL.

My test phone is a HTC Evo 4G LTE.
When I build with intelXDK (which uses cordova crosswalk) the issue never 
occurs. We can then infer that under intelXDK the phone is allowed to use webGL
When I build using a command line and cordova crosswalk (i've tested both on 
the latest stable and the latest beta) the bug appears on the test phone. So we 
can infer that using cordova crosswalk (i've also tested using plain crosswalk 
without cordova) the phone is not allowed to use webGL. I have confirmed this 
by changing my code to FORCE the phone to ONLY use webGL and it throws an error 
saying webGL is not available for that browser.

The only conclusion I can draw is this reference to blacklisted GPU's in the 
crosswalk documentation (faq - 
https://crosswalk-project.org/#documentation/about/faq/Canvas-and-WebGL-support)
intelXDK must be using the --ignore-gpu-blacklist flag during build.
So I then went about following the instructions to build my apk with the same 
flag to confirm, but I reach a hiccup at this stage.
"If you are using Crosswalk 
Cordova<https://crosswalk-project.org/#documentation/cordova>, the file should 
be placed in the platforms/android/assets/ directory of your project."
Yet if you follow the instructions on building your first cordova crosswalk 
application (found here 
https://crosswalk-project.org/#documentation/cordova/develop_an_application), 
you never run the "cordova add platform android" command (and even if you run 
it manually cordova complains that this is not a cordova application). 
Therefore no "platforms" folder is present.
I have tried placing the text file in the other locations mentioned to no avail.
So to conclude, I suspect intelXDK is using --ignore-gpu-blacklist and I want 
to mimic this when I build using cordova crosswalk but the instructions given 
in the documentation refer to a folder that does not exist when following the 
startup guide.
What is the correct method to use the flag for cordova crosswalk?

Thanks in advance!
Rohan.

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

Reply via email to