GLThread()
A generic GL Thread. Takes care of initializing EGL and GL. Delegates to a Renderer instance to do the actual drawing. Can be configured to render continuously or on request.
All potentially blocking synchronization is done through the glThreadManager object. This avoids multiple-lock ordering issues.