Page 1 of 1

Editor fps

Posted: 03 Mar 2014 07:41
by MURTUMA
I'm not sure if this is a bug of a "feature" but when I'm at the flow editor screen, the fps decreases considerably. Also when scrolling lists, touch input lags behind from half to one seconds. The fps loss disappears when opening any full screen activity but in the editor and non-full-screen lists the problem appears.

If I remember correctly, I changed from s+ to s4 during previous patch(1.20.0). I had that version on both phones but s+ didn't have any problems. On s4 the problem persist on both stock touchwiz(4.2) and slim bean(4.3.1). Maybe this is phone specific?

Re: Editor fps

Posted: 03 Mar 2014 16:28
by Martin
That's somewhat expected since the flow editor screen disables hardware acceleration since Android does not support all painting operations in hardware yet.
You could enable 'Force GPU rendering' in the developer settings of Android to see if this changes the fps. Please enable this setting only for testing and turn it off afterwards since it can cause apps to misbehave, look strange or sometimes even crash the app.

Re: Editor fps

Posted: 03 Mar 2014 16:58
by MURTUMA
Force GPU rendering fixes this, but how come my S+ does not have this problem?

Re: Editor fps

Posted: 03 Mar 2014 18:03
by Martin
It's hard to say but such things highly depend on device, GPU in use etc. Perhaps Samsung does not optimize for software rendering anymore on newer devices.
I hope I can switch to hardware rendering entirely as soon as Android is capable to accelerate more drawing operations used in the flow editor.

Re: Editor fps

Posted: 03 Mar 2014 20:27
by MURTUMA
I made a small flow to toggle GPU rendering on with Secure Settings plugin when using Automagic. So far I haven't seen any anomalies with this and the user experience has improved ernomously.

Thanks for the great tip, Martin!

http://automagic4android.com/flow.php?i ... c7f7f84ba7

Re: Editor fps

Posted: 04 Mar 2014 18:14
by kssxs
Thanks for the flow MURTUMA!

I modified it to add another app that could benefit from the GPU acceleration. I was hoping to just have to modify the trigger, but found I also had to modify the condition.

Is it possible to build an AND/OR condition in 1 step without having to specify an entirely new condition? That way, I could check for either app and then follow the true or false branches appropriately. Basically, the flow should be able to be modified for multiple apps just by adding them to the trigger, and modify the one condition, rather than adding multiple conditions below to cover every possibility. For example, what if I wanted to enable this for 25 apps? Is that doable without having to add all of those extra conditions?

Sorry if the question is obvious. I'm an Automagic newbie (and a Tasker user), so I'm probably overthinking this.

Thanks!

Re: Editor fps

Posted: 04 Mar 2014 18:28
by kssxs

Re: Editor fps

Posted: 04 Mar 2014 18:56
by MURTUMA
There are not really "one step" possibilities for that. The solution you used in your flow is the best and most diverse in possibilities to use that in different situations.

Re: Editor fps

Posted: 04 Mar 2014 19:05
by kssxs
MURTUMA wrote:There are not really "one step" possibilities for that. The solution you used in your flow is the best and most diverse in possibilities to use that in different situations.
Sorry MURTUMA,

I modified my post as you were replying.

This is what I changed:

Basically, the flow should be able to be modified for multiple apps just by adding them to the trigger, and modify the one condition, rather than adding multiple conditions below to cover every possibility. For example, what if I wanted to enable this for 25 apps? Is that doable without having to add all of those extra conditions?

I suppose your answer would still be the same, but I suppose for Martin, for a feature request, the ability to have AND/OR/XOR etc modifiers in conditions would allow us to have more robust flows. What do you think?

Re: Editor fps

Posted: 04 Mar 2014 20:07
by MURTUMA
There are a few ways to achieve that, but still no one step solution. All ways I know of depends on multiple conditions.