Exemple #1
0
            public virtual void RemoveNotify()
            {
                if (drawable != null)
                {
                    drawable.SetRealized(false);
                    drawable = null;
                }

                base.RemoveNotify();
            }
Exemple #2
0
 public void Draw(GLDrawable d)
 {
     d.Draw();
 }
Exemple #3
0
 public Display(GLCapabilities capabilities) : base(Unwrap((AWTGraphicsConfiguration)GLDrawableFactory.GetFactory().ChooseGraphicsConfiguration(capabilities, null, null)))
 {
     drawable = GLDrawableFactory.GetFactory().GetGLDrawable(this, capabilities, null);
     context  = drawable.CreateContext(null);
 }