media

Static WINDOW_GL_CONTEXT

Source
pub(crate) static WINDOW_GL_CONTEXT: Mutex<WindowGLContext>
Expand description

A global version of the WindowGLContext to be shared between the embedder and the constellation. This is only okay to do because OpenGL contexts cannot be used across processes anyway.

This avoid having to establish a depenency on media in *_traits crates.