Exemplo n.º 1
0
		// TODO Needed to bind OpenGL to Quicktime private QTVisualContextRef  textureContext;
    	// TODO Needed to grab frame as a texture private CVOpenGLTextureRef  currentFrame;
		
        public VideoPlayer()
        {
			_state = MediaState.Stopped;
			_game = Game.Instance;
            _platform = (MacGamePlatform)_game.Services.GetService(typeof(MacGamePlatform));
        }
Exemplo n.º 2
0
        // TODO Needed to bind OpenGL to Quicktime private QTVisualContextRef  textureContext;
        // TODO Needed to grab frame as a texture private CVOpenGLTextureRef  currentFrame;

        public VideoPlayer()
        {
            _state    = MediaState.Stopped;
            _game     = Game.Instance;
            _platform = (MacGamePlatform)_game.Services.GetService(typeof(MacGamePlatform));
        }
Exemplo n.º 3
0
        // TODO Needed to bind OpenGL to Quicktime private QTVisualContextRef  textureContext;
        // TODO Needed to grab frame as a texture private CVOpenGLTextureRef  currentFrame;

        private void PlatformInitialize()
        {
            _game = Game.Instance;
            _platform = (MacGamePlatform)_game.Services.GetService(typeof(MacGamePlatform));
        }
Exemplo n.º 4
0
        // TODO Needed to bind OpenGL to Quicktime private QTVisualContextRef  textureContext;
        // TODO Needed to grab frame as a texture private CVOpenGLTextureRef  currentFrame;

        private void PlatformInitialize()
        {
            _game     = Game.Instance;
            _platform = (MacGamePlatform)_game.Services.GetService(typeof(MacGamePlatform));
        }