Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor gardiol's Avatar
    Join Date
    Jul 2010
    Posts
    99
    In my app i am displaying raster maps of about 640x640px.

    I load them into QImage and then i paint on the screen applying to the QPainter a QTransform with scaling and rotating.

    On my old 5800XM it works very fast, i can scale&resize&display at least five of those images with no slowdown (then i fill up the phone memory).

    On a new C7 instead even displaying just one is so slow to be unusable...


    Is there something special i should be aware of?
    Is it due to Symbin^3 using OpenVG instead of Raster?
    Can i switch back to raster in my code?
    Can i improve this by forcing the image depth of the QImages?

    Please, any pointer to find the root of the problem and any hope to fix it...

    thanks!
    Last edited by gardiol; 2011-04-18 at 13:24.

  2. #2
    Nokia Developer Expert jhautaka's Avatar
    Join Date
    Mar 2003
    Posts
    6
    You should use QPixmap instead of QImage to get the optimal performance

  3. #3
    Registered User kamalakshan's Avatar
    Join Date
    Jun 2007
    Location
    Mumbai, India
    Posts
    1,998
    But using QPixmap you can't get to the pixel data directly for manipulation. And if using QImage it doesn't make use of graphics hardware so one might find it slow.

  4. #4
    Regular Contributor gardiol's Avatar
    Join Date
    Jul 2010
    Posts
    99
    Now i try to draw in a QImage then convert to QPixmap and "paint" that. I hope this will speed up since i draw only once, then i need to paint the image to the screeen at each frame!

Similar Threads

  1. N97 DEVICE SLOWER THAN EMULATOR
    By rastoarpit in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2011-01-08, 11:59
  2. Replies: 3
    Last Post: 2010-01-02, 01:23
  3. Replies: 3
    Last Post: 2009-09-07, 10:22
  4. Midlet runs much slower on N95 than N70
    By pmcquillan in forum Mobile Java General
    Replies: 5
    Last Post: 2007-11-29, 16:55
  5. N71 slower than 6681 !!??
    By chand81 in forum General Development Questions
    Replies: 6
    Last Post: 2007-06-12, 05:26

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved