Performance (such as scrolling, move, show and hide of images), slows down on Android device with higher screen pixel density.
I found that it's slower with image quality set to "best" so I set the image quality to "good". Both Hardware Accelerated and acceleratedRendering set to true in the stack. LC app shows fair performance on Galaxy A10 (~271 ppi density) but overall performance becomes sluggish on Galaxy S10 (~522 ppi density).
Is there anything to manage depending on the pixel density of the devices? setting frame rate kind of thing would help? I need any clue to fix this matter.
Thanks in advance,
Louis
Sluggish if screen has higher ppi (HD screens) [solved]
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Sluggish if screen has higher ppi (HD screens) [solved]
Last edited by Jellobus on Wed Oct 09, 2019 8:22 pm, edited 2 times in total.
-
- Livecode Opensource Backer
- Posts: 9359
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria
Re: Sluggish if screen has higher ppi
Why are you surprised?
Higher PPI means that the processor(s) has to work harder.
In my school, with teenagers who have higher PPI (Pimples Per Inch) I have to work
much harder than with the prepubescent bunch.
Higher PPI means that the processor(s) has to work harder.
In my school, with teenagers who have higher PPI (Pimples Per Inch) I have to work
much harder than with the prepubescent bunch.
Re: Sluggish if screen has higher ppi (HD screens)
No, I am not surprised but I am disappointed with how it performs because the HD screen is normal these days. (1920x1080 or Pixel density of over 4~500 ppi)
Let alone Samsung galaxy S10, LG thinQ, Google Pixel, Huawei, Xiaomi, you name it. all mainstream devices have HD screens. App should not underperformed with HD screens.
Is there a way of giving less burdens to CPU regarding image processing in HD environment?
Please help,
ps: Galaxy A10 I mentioned above is the cheapest model for emerging markets and it has 1520x720 pixels(Non-HD). Definitely it's not a mainstream phone.
Let alone Samsung galaxy S10, LG thinQ, Google Pixel, Huawei, Xiaomi, you name it. all mainstream devices have HD screens. App should not underperformed with HD screens.
Is there a way of giving less burdens to CPU regarding image processing in HD environment?
Please help,
ps: Galaxy A10 I mentioned above is the cheapest model for emerging markets and it has 1520x720 pixels(Non-HD). Definitely it's not a mainstream phone.
Re: Sluggish if screen has higher ppi (HD screens) [Solved]
Making the stack size (width, height) smaller solved the issue. I think that the stack size was too large.
Cheers,
Cheers,