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

                base.RemoveNotify();
            }
예제 #2
0
파일: GLDrawer.cs 프로젝트: kjin/cs5643_a4
 public void Draw(GLDrawable d)
 {
     d.Draw();
 }
예제 #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);
 }