/// <summary>
 /// Initializes a new instance of the <see cref="Session" /> class.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <param name="info">The information.</param>
 /// <param name="lock">The lock.</param>
 public Session(GlxContext context, EglGlPlatformSurface.IEglWindowGlPlatformSurfaceInfo info,
                IDisposable @lock)
 {
     _context = context;
     _info    = info;
     _lock    = @lock;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="GlxGlPlatformSurface" /> class.
 /// </summary>
 /// <param name="display">The display.</param>
 /// <param name="context">The context.</param>
 /// <param name="info">The information.</param>
 public GlxGlPlatformSurface(GlxDisplay display, GlxContext context, EglGlPlatformSurface.IEglWindowGlPlatformSurfaceInfo info)
 {
     _display = display;
     _context = context;
     _info    = info;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RenderTarget" /> class.
 /// </summary>
 /// <param name="context">The context.</param>
 /// <param name="info">The information.</param>
 public RenderTarget(GlxContext context, EglGlPlatformSurface.IEglWindowGlPlatformSurfaceInfo info)
 {
     _context = context;
     _info    = info;
 }