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

Qt reserves graphics resources when launching application directly to background

    XMLWordPrintable

    Details

    • Commits:
      60475e93890550f4fb67367980249a21b9346747

      Description

      If Qt application is launched directly to background, it consumes about 3MB of graphics memory. The memory is probably consumed by the graphics surface. This should not happen, because Symbian applications in general are not allowed to consume any graphics memory while staying in the background.

      Comment from Jason Barron: "Qt will currently only free graphics memory when it receives EEventWindowVisibilityChanged and the value is ENotVisible. If the apps starts up in the background, then this event probably does not get sent.

      Qt will allocate graphics memory when it paints the first frame. When a Qt app is started, the entire window is marked as dirty in the backing store and this will generate an UpdateRequest event which will trigger the painting (and therefore allocation). Assuming we can detect when an application is started in the background, we should be able to fix this."

        Attachments

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

          Activity

            People

            Assignee:
            agocs Laszlo Agocs (Inactive)
            Reporter:
            miviital Mika Viitala
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes