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