internal void InternalCreateDevice(ExEnEmTouchGameView gameView)
 {
     // Switching from Portrait will be handled by ExEnEmTouchGameViewController
     ExEnScaler scaler = new ExEnScaler(ExEnInterfaceOrientation.Portrait, gameView.RenderbufferSize, gameView.DeviceSize);
     GraphicsDevice = new GraphicsDevice(scaler);
     OnDeviceCreated(this, EventArgs.Empty);
 }
        public ExEnAndroidSurfaceView(Game game, GraphicsDeviceManager gdm, ExEnAndroidActivity activity)
            : base(activity)
        {
            this.game = game;
            this.gdm = gdm;
            this.activity = activity;

            inputScaler = new ExEnScaler(ExEnInterfaceOrientation.Portrait, new Point(1, 1), new Point(1, 1));

            Holder.AddCallback(this);
            Holder.SetType(SurfaceType.Gpu);

            updateGameTime = new GameTime();
            drawGameTime = new GameTime();
            GameLoop.Update = DoUpdate;
            GameLoop.Draw = DoDraw;
        }