Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-14860

Retrieving colour of skinnable graphics at app startup should be as optimal as possible

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 4.7.2
    • 4.7.0
    • None
    • None
    • symbian
    • d50fb14395e8ea35d09bdfc8bb420f051b6c140a, 0870d766b9e302081ba31a9c8f6dfa3a1e8c1e52

      Profiling applaunch of qt(qml) based s60 application shows that round 70 msec is spent in QS60StylePrivate::colorFromFrameGraphics(QS60StylePrivate::SkinFrameElements) const. We try to calculate the colour from 32*32 pixmap from a 9 part image.

      Tried two cases:
      1)First launch of an application(no other qt application running in background) --> around 70 msec
      2)Qt app in background and profiled the launch time of another qt(qml) application. Function seemed to take the same time. Just wanted to make sure there was no kind of cache anywhere.

      Things which come up:
      1)Could these be stored and retrieved when needed??
      2)If not, should we try to find some other optimal way to do the same??

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            samimeri Sami Merila (Inactive)
            kalyanreddy2005 Kalyan kondapally
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes