GLContext.activate

bool activate(bool activate)

(De)activate the OpenGL context represented by this context.

In OpenGL terms, calls eglMakeCurrent or similar with this context and the currently set window. See gstgl.glcontext.GLContext.setWindow for details.

Parameters

activatetrue to activate, false to deactivate

Returns

Whether the activation succeeded