Editor fps

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Editor fps

Post by MURTUMA » 03 Mar 2014 07:41

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?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Editor fps

Post by Martin » 03 Mar 2014 16:28

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.

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Editor fps

Post by MURTUMA » 03 Mar 2014 16:58

Force GPU rendering fixes this, but how come my S+ does not have this problem?

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Editor fps

Post by Martin » 03 Mar 2014 18:03

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.

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Editor fps

Post by MURTUMA » 03 Mar 2014 20:27

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

User avatar
kssxs
Posts: 9
Joined: 25 Feb 2014 04:31

Re: Editor fps

Post by kssxs » 04 Mar 2014 18:14

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!
Last edited by kssxs on 04 Mar 2014 19:01, edited 1 time in total.

User avatar
kssxs
Posts: 9
Joined: 25 Feb 2014 04:31

Re: Editor fps

Post by kssxs » 04 Mar 2014 18:28


User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Editor fps

Post by MURTUMA » 04 Mar 2014 18:56

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.

User avatar
kssxs
Posts: 9
Joined: 25 Feb 2014 04:31

Re: Editor fps

Post by kssxs » 04 Mar 2014 19:05

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?

User avatar
MURTUMA
Posts: 697
Joined: 05 Mar 2013 22:43

Re: Editor fps

Post by MURTUMA » 04 Mar 2014 20:07

There are a few ways to achieve that, but still no one step solution. All ways I know of depends on multiple conditions.

Post Reply