Software Archive
Read-only legacy content
17060 Discussions

issue to performance of croswalk 15

Mour_D_
Beginner
459 Views

i have upragded my app to crosswalk 15 .

After that i have performance issue see , see screenshot

1: i am using OrientationLock plugin to show video to unlock orientation for my video rest all have portrait view only 

2: now issue is when i open video( Jewelry Concept button ) and rotate deivce to landscape mode and click video to show in fullscreen mode

now when i press back button from device , my website show only in half view mode , this was not issue in old apk i built with crosswalk 13

please suggest how to fix it

app url : https://goo.gl/eExQsp

error video url : http://goo.gl/qcGqF5

 

Please suggest how to fix it

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
459 Views

Matrix and Mour: there is a new feature in the CLI 5.1.1 and CW15 build system that allows you to select one of two different "performance" modes for Crosswalk. Here's what you need to use, in the intelxdk.config.additions.xml file:

<!-- controls configuration of Crosswalk-Android "SurfaceView" or "TextureView" -->
<!-- see Sep 15 comments in https://crosswalk-project.org/jira/browse/XWALK-2233 -->
<!-- default is SurfaceView if >= CW15 and TextureView if <= CW14 -->
<!-- option can only be used with Intel XDK CLI5+ build systems -->
<!-- enable Crosswalk-Android TextureView by setting option to true -->
<preference name="CrosswalkAnimatable" value="false" />

Set to either "true" or "false" and test your app to see which provides the best performance. What is "best" will depend on the type of app, so there is no "right answer" when it comes to selecting this option, you need to experiment and see which is best for you.

0 Kudos
Reply