Busy Mode: Drawing game widgets to texture for busy transition
Instead of grabbing a screenshot, which unavoidably is already affected by VR transforms, we will now render the game widgets to a texture for the busy transition.
This is an imperfect solution: - The rest of the UI (taskbar, etc.) disappears during busy mode as it is not included in the texture. - When starting a game from the menu, the game plugin has already entered a transitional state and drawing the frame at bust mode start produces a black frame.
Todo: Get rid of the separate busy mode widget tree. Instead, use BusyWidget to replace GameWidget and GameUIWidget during busy mode (drawing the offscreen frame there), while letting all the other widgets be present (although input should be mostly disabled).
Busy Mode: Drawing game widgets to texture for busy transition
Instead of grabbing a screenshot, which unavoidably is already
affected by VR transforms, we will now render the game widgets to
a texture for the busy transition.
This is an imperfect solution:
- The rest of the UI (taskbar, etc.) disappears during busy mode
as it is not included in the texture.
- When starting a game from the menu, the game plugin has already
entered a transitional state and drawing the frame at bust mode
start produces a black frame.
Todo: Get rid of the separate busy mode widget tree. Instead,
use BusyWidget to replace GameWidget and GameUIWidget during busy
mode (drawing the offscreen frame there), while letting all the
other widgets be present (although input should be mostly disabled).