public virtual void RemoveNotify() { if (drawable != null) { drawable.SetRealized(false); drawable = null; } base.RemoveNotify(); }
public void Draw(GLDrawable d) { d.Draw(); }
public Display(GLCapabilities capabilities) : base(Unwrap((AWTGraphicsConfiguration)GLDrawableFactory.GetFactory().ChooseGraphicsConfiguration(capabilities, null, null))) { drawable = GLDrawableFactory.GetFactory().GetGLDrawable(this, capabilities, null); context = drawable.CreateContext(null); }