voutgl.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * voutgl.h: MacOS X OpenGL provider
00003  *****************************************************************************
00004  * Copyright (C) 2001-2007 the VideoLAN team
00005  * $Id$
00006  *
00007  * Authors: Colin Delacroix <colin@zoy.org>
00008  *          Florian G. Pflug <fgp@phlo.org>
00009  *          Jon Lech Johansen <jon-vl@nanocrew.net>
00010  *          Eric Petit <titer@m0k.org>
00011  *          Benjamin Pracht <bigben at videolan dot org>
00012  *
00013  * This program is free software; you can redistribute it and/or modify
00014  * it under the terms of the GNU General Public License as published by
00015  * the Free Software Foundation; either version 2 of the License, or
00016  * (at your option) any later version.
00017  *
00018  * This program is distributed in the hope that it will be useful,
00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00021  * GNU General Public License for more details.
00022  *
00023  * You should have received a copy of the GNU General Public License
00024  * along with this program; if not, write to the Free Software
00025  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
00026  *****************************************************************************/
00027 
00028 #import <Cocoa/Cocoa.h>
00029 #import "VLCOpenGLVoutView.h"
00030 #import "voutagl.h"
00031 
00032 struct vout_sys_t
00033 {
00034     NSAutoreleasePool * o_pool;
00035     VLCOpenGLVoutView * o_glview;
00036     bool          b_saved_frame;
00037     NSRect              s_frame;
00038     bool          b_got_frame;
00039 
00040     /* Mozilla plugin-related variables */
00041     bool          b_embedded;
00042     AGLContext          agl_ctx;
00043     AGLDrawable         agl_drawable;
00044     int                 i_offx, i_offy;
00045     int                 i_width, i_height;
00046     WindowRef           theWindow;
00047     WindowGroupRef      winGroup;
00048     bool          b_clipped_out;
00049     Rect                clipBounds, viewBounds;
00050 };

Generated on Wed Aug 13 08:02:37 2008 for VLC by  doxygen 1.5.1