[SailfishDevel] problem with libpng

Slava Monich slava.monich at jolla.com
Mon Nov 7 11:55:32 UTC 2016


Regarding power consumption.

I doubt that you need to run you RNG or whatever when the screen is 
locked and the display is switched off. That's one direction in which 
you can optimize your code, i.e. pause the game when the screen is 
locked and the display is off and resume it when the display is turned on.

Another thing is that JollaC has significantly more pixels than Jolla1 
(and tablet has even more). If you are doing some sort of pixel 
graphics, that may have quite an impact on performance. In that case you 
may consider switching to scene graph based rendering 
(http://doc.qt.io/qt-5/qtquick-visualcanvas-scenegraph.html) which can 
use whatever hardware acceleration is available on the device (if you do 
it right).

Cheers,
-Slava


> I can disregard it as long as they don't reject my game. But it's one 
> of the reasons they rejected my game.
>
> It seams the new libpng regards this as error and not warning because 
> according to what they say, under JollaC device nothing is rendered on 
> the screen. So I presume the installed libpng on their JollaC device 
> stops loading my pngs
>
> I don't have access to a JollaC device so is there an emulator image 
> 2.0.1.14 for for the JollaC device I can use to test my game?
>
> The other reason for rejecting my game is too much power consumption 
> on their device. On my device I don't see that much. But I am not sure 
> if I am going to do something about it because I need my game to run 
> even when in the background. I have created a gambling game and I need 
> my RNG (Random Number Generator) to run even on the background, 
> because when I tested with pausing the game when going to background 
> it got a bit predictably.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20161107/7ed2597d/attachment.html>


More information about the Devel mailing list