Main thread finalization.
Main/render thread finalization (depends on InitializeVideoInRenderThread).
Main thread initialization.
Main/render thread initialization (depends on InitializeVideoInRenderThread).
SDL renderer object.
SDL window object.
Allows varying the thread from which initVary gets called.
When initializing video in the render thread, block main thread while video is initializing? Some renderers may require the main thread to be responsive during graphics initialization, to pump events - thus, initialization must be asynchronous.
Main thread initialization.
Main/render thread initialization (depends on initializeVideoInRenderThread).
Main thread finalization.
Main/render thread finalization (depends on initializeVideoInRenderThread).
Video implementation for SDL2.