ThreadedVideo

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

doneMain
void doneMain()

Main thread finalization.

doneVary
void doneVary()

Main/render thread finalization (depends on initializeVideoInRenderThread).

getRenderer
Renderer getRenderer()
Undocumented in source.
initMain
void initMain(Application application)

Main thread initialization.

initVary
void initVary()

Main/render thread initialization (depends on initializeVideoInRenderThread).

shutdown
void shutdown()
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start(Application application)
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.
stopAsync
void stopAsync(AppCallback callback)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

initializeVideoInRenderThread
bool initializeVideoInRenderThread [@property getter]

Allows varying the thread from which initVary gets called.

initializeVideoSynchronously
bool initializeVideoSynchronously [@property getter]

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.

Inherited Members

From Video

start
void start(Application application)

Start driver (Application dictates settings).

stop
void stop()

Stop driver (may block).

stopAsync
void stopAsync(AppCallback callback)

Stop driver (asynchronous).

shutdown
void shutdown()

Shutdown (de-initialize) video driver. Blocks.

getScreenSize
void getScreenSize(uint width, uint height)

Query the window size that's currently running. This is different from the information in ShellSettings in that it returns the current client area regardless of the screen mode.

errorCallback
AppCallback errorCallback;

Shell hooks.

Meta