Example #1
0
 public XNAMainCanvas(XNAContext context)
     : base(context)
 {
     this.m_handler = new XNAHandler();
     this.Init();
     m_drawFlag = 0;
     this.m_runnableDraw = new InnerRunnable(this);
 }
Example #2
0
 public XNAMainCanvas(XNAContext context)
     : base(context)
 {
     this.m_handler = new XNAHandler();
     this.Init();
     m_drawFlag          = 0;
     this.m_runnableDraw = new InnerRunnable(this);
 }
Example #3
0
 public override void InitApp(XNAContext context, GL gl)
 {
     if (m_process == null)
     {
         m_process = new LProcess(this, context._width, context._height);
     }
     m_process.Load(gl);
     Printf("initApp");
 }
Example #4
0
 public override void OnCreate(XNABundle state)
 {
     base.OnCreate(state);
     mActivity             = this;
     mActivity.GameContent = GameContent;
     this.mContext         = this;
     mContext.GameContent  = GameContent;
     mCanvas = new ICanvasGL(this);
     base.SetContentView(mCanvas);
 }
 public override void OnCreate(XNABundle state)
 {
     base.OnCreate(state);
     mActivity = this;
     mActivity.GameContent = GameContent;
     this.mContext = this;
     mContext.GameContent = GameContent;
     mCanvas = new ICanvasGL(this);
     base.SetContentView(mCanvas);
 }
Example #6
0
 public abstract void InitApp(XNAContext context, GL gl);
Example #7
0
 public override void InitApp(XNAContext context, GL gl)
 {
     if (m_process == null)
     {
         m_process = new LProcess(this, context._width, context._height);
     }
     m_process.Load(gl);
     Printf("initApp");
 }
 public abstract void InitApp(XNAContext context, GL gl);
Example #9
0
 public GLSurfaceView(XNAContext c)
 {
     this._context = c;
     this._gl      = new GL();
 }
Example #10
0
 public GLSurfaceView(XNAContext c)
 {
     this._context = c;
     this._gl = new GL();
 }