Exemplo n.º 1
0
 public XNAMainCanvas(XNAContext context)
     : base(context)
 {
     this.m_handler = new XNAHandler();
     this.Init();
     m_drawFlag = 0;
     this.m_runnableDraw = new InnerRunnable(this);
 }
Exemplo n.º 2
0
 public XNAMainCanvas(XNAContext context)
     : base(context)
 {
     this.m_handler = new XNAHandler();
     this.Init();
     m_drawFlag          = 0;
     this.m_runnableDraw = new InnerRunnable(this);
 }
Exemplo n.º 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");
 }
Exemplo n.º 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);
 }
Exemplo n.º 5
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);
 }
Exemplo n.º 6
0
 public abstract void InitApp(XNAContext context, GL gl);
Exemplo n.º 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");
 }
Exemplo n.º 8
0
 public abstract void InitApp(XNAContext context, GL gl);
Exemplo n.º 9
0
 public GLSurfaceView(XNAContext c)
 {
     this._context = c;
     this._gl      = new GL();
 }
Exemplo n.º 10
0
 public GLSurfaceView(XNAContext c)
 {
     this._context = c;
     this._gl = new GL();
 }