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

Simplify Surface recreation

XMLWordPrintable

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

      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.

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes