Abstraction for an OpenGL rendering context.
Adds capabilities to set a shared GLContext directly or via an GLAutoDrawable.
void setSharedAutoDrawable(GLAutoDrawable sharedAutoDrawable)
Specifies an GLAutoDrawable, which OpenGL context shall be shared by this GLAutoDrawable's GLContext.
void setSharedContext(GLContext sharedContext)
Specifies an OpenGL context, which shall be shared by this GLAutoDrawable's GLContext.