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

Simplify Surface recreation

    XMLWordPrintable

Details

    • Task
    • Resolution: Duplicate
    • P2: Important
    • 6.8
    • None
    • QPA: Android
    • None

    Description

      Right now, when the app goes into background, the whole QtSurface aka SurfaceView is destroyed, and recreated again once the app comes back to foreground.

      However, based on Android SurfaceView docs it should handle the destroying and recreation of the Surface it wraps by itself, so instead of destroying/recreating the whole SurfaceView every time, we could just listen to the SurfaceHolder callbacks to let us know when the Surface is valid and when not.

       

      Attachments

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

        Activity

          People

            qtandroidteam Qt Android Team
            tinjapaavoseppa Tinja Paavoseppä
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes