D3DPipeline should handle S_PRESENT_MODE_CHANGED

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: jfx11, 8, jfx16
    • Component/s: javafx
    • None

      While debugging JDK-8239589, I noticed that in some cases we can get a return status of S_PRESENT_MODE_CHANGED from TestCooperativeLevel.

      This can happen upon a remote desktop reconnect, or when plugging / unplugging an external display, moving a window between displays, or changing the resolution of a display.

      It continues to run normally, since S_PRESENT_MODE_CHANGED is not an error, but we should consider handling it by resetting the device in a similar manner to what we do in the case of a lost surface (maybe handle it like D3DERR_DEVICENOTRESET).

            Assignee:
            Kevin Rushforth
            Reporter:
            Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: