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

QFontEngineS60::QFontEngineS60 called hundreds of times, taking up to 1ms each call

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 4.6.1
    • 4.6.0
    • None
    • None

      Traces of Orbit app start up show that QFontEngineS60::QFontEngineS60 is called many times. In each construction it calls CFbsBitmap::Create, CFbsBitmapDevice::NewL and CFbsDevice::GetNearestFontInPixels, each of which is expensive.

      Does it really need to create a new CFbsBitmap and CFbsBitmapDevice each time? It might be more efficient if a common one was shared, or perhaps a pool.

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

            jhautaka Jani Hautakangas
            mread Murray Read
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes