On 4 June 2014 13:37, Dave Richardson <[email protected]> wrote: > Thank you your reply. Will this xwalk-command-line file require Crosswalk > 6? >
Good point, Dave, yes, I think it will. > When I copy the /framework directory of Crosswalk 5 to > platforms/android/Cordovalib then I get a fully working app on my device, > but no WebGL (even when I added the command line file). > > Then i read in the docs that this was added in Crosswalk 6. > So I then copied the contents of Crosswalk 6 and added the > xwalk-command-line file, but then my app won't start on my device. > So then I thought, maybe it's the WebGL thing casuing problems on this > device. > But when I build my APK *without* Cordova and set the > --ignore-gpu-blacklist flag then I get a working APK with WebGL on the same > device. > So I'm wondering why I can't use Crosswalk 6 with Cordova. Do I need to > use Cordova 3.4? > Cordova 3.4 is the one used by Crosswalk Cordova 6 I believe. I would try that. > P.S. for some reason I didn't receive your reply from the mailing list. I > just happened to see it because Antonio replied to it. > I did reply all, maybe it went to spam or something. Elliot > Thanks, > Dave > > On 4-6-2014 13:22, Antonio Aloisio wrote: > > Hi Elliot, > where can we find the list of blacklisted GPUs? > > Thanks, > Antonio > > > On Wed, Jun 4, 2014 at 2:03 PM, Smith, Elliot <[email protected]> > wrote: > >> Hello Dave. >> >> On 4 June 2014 11:51, Dave Richardson <[email protected]> wrote: >> >>> I've followed the guide on crosswalk-project.org to build a Cordova app >>> with Crosswalk web view. >>> It works, but I've noticed that WebGL is not supported or enabled by >>> default. How can I enable it? >>> I am using Cordova 3.3 and the framework files of Crosswalk 5.34. >>> >> >> Depending on the device, Crosswalk may blacklist its CPU so that WebGL >> is not enabled by default (I'm adding a note about this to the FAQ this >> week, in fact). This is to prevent an application causing the web runtime >> to freeze (or potentially freeze the whole system) or cause other types of >> instability. >> >> You can work around this by adding a file called xwalk-command-line to >> the root directory of the web piece of your application (in a Cordova app, >> this would be the www/ directory). This file can contain a custom >> command-line for your application. To enable WebGL you can tell Crosswalk >> to ignore the GPU blacklist: >> >> xwalk --ignore-gpu-blacklist >> >> This is not recommended for production applications, however. >> >> Hope this helps, and thanks for trying Crosswalk. >> Elliot >> >> >>> >>> Thanks, >>> Dave Richardson >>> _______________________________________________ >>> Crosswalk-help mailing list >>> [email protected] >>> https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help >>> >> >> >> >> -- >> Elliot Smith >> Senior Software Engineer >> Intel Open Source Technology Centre >> >> _______________________________________________ >> Crosswalk-help mailing list >> [email protected] >> https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help >> >> > > -- Elliot Smith Senior Software Engineer Intel Open Source Technology Centre
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
