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

WinRT: Trim() on suspend is missing, without it the app cannot pass store certification

    XMLWordPrintable

    Details

    • Platform/s:
      WinRT
    • Commits:
      878da15f2cfadf249a355b33d31f7937078ea174 2903db0469487944f035aff1c44e69605d48fa8f 7943d4f

      Description

      Windows Store certification requires that the application trim its graphics resources on suspend. There are at least two ways to do this:

      1. Add an extension to ANGLE to return the DXGIDevice from eglQuerySurfacePointerANGLE. Then get the device pointer and call Trim() inside the winrt QPA plugin.
      2. Add a suspending callback inside ANGLE, and call Trim() there.

      The downsides of the approach #1 are that it requires more than one patch, and that it requires the platform plugin to link to DXGI. The downsides of approach #2 are that it is introduces another fairly invasive patch to ANGLE, and that the developer has no control over Trim() being called (or not called).

        Attachments

          Issue Links

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

            Activity

              People

              • Assignee:
                andrew.knight Andrew Knight
                Reporter:
                andrew.knight Andrew Knight
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes